{"id":"GHSA-jgrx-mgxx-jf9v","revision":"3303267cc91f445fbd841398d92642d9","records":[{"revision":"3303267cc91f445fbd841398d92642d9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-jgrx-mgxx-jf9v","aliases":["CVE-2021-3777"],"title":"tmpl vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion","description":"nodejs-tmpl is simple string formatting. tmpl is vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion.","state":0,"publishedAt":"2021-09-20T20:27:52+00:00","modifiedAt":"2026-09-10T03:49:16.0223601+00:00","affected":[{"ecosystem":"npm","name":"tmpl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-3777","https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6","https://github.com/daaku/nodejs-tmpl","https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df"],"sourceUrl":"https://github.com/advisories/GHSA-jgrx-mgxx-jf9v","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jgrx-mgxx-jf9v","identifiers":["GHSA-jgrx-mgxx-jf9v","CVE-2021-3777"]},"retained":false,"historicalAffected":[]}],"coverage":[]}