{"schema_version":"1.9.0","id":"GHSA-jgrx-mgxx-jf9v","published":"2021-09-20T20:27:52Z","modified":"2026-09-10T03:49:16.022360120Z","aliases":["CVE-2021-3777"],"summary":"tmpl vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion","details":"nodejs-tmpl is simple string formatting. tmpl is vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion.","affected":[{"package":{"name":"tmpl","ecosystem":"npm","purl":"pkg:npm/tmpl"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-jgrx-mgxx-jf9v/GHSA-jgrx-mgxx-jf9v.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3777"},{"type":"WEB","url":"https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6"},{"type":"PACKAGE","url":"https://github.com/daaku/nodejs-tmpl"},{"type":"WEB","url":"https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df"}],"database_specific":{"cwe_ids":["CWE-400"],"github_reviewed":true,"github_reviewed_at":"2021-09-16T17:05:45Z","nvd_published_at":"2021-09-15T08:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}