{"id":"CVE-2021-3777","aliases":["CVE-2021-3777","GHSA-jgrx-mgxx-jf9v"],"related":[],"kind":"vulnerability","state":"published","title":"Inefficient Regular Expression Complexity in daaku/nodejs-tmpl","summary":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","summarySource":"cvelist","descriptions":[{"lang":"en","text":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","source":"cvelist"},{"lang":"en","text":"nodejs-tmpl is simple string formatting. tmpl is vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion.","format":"markdown","source":"ghsa"},{"lang":"es","text":"nodejs-tmpl es vulnerable a una Complejidad de la Expresión Regular Ineficiente","source":"nvd"}],"published":"2021-09-15T07:15:11.000Z","modified":"2026-09-10T03:49:16.022Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","score":7.8,"rating":"HIGH"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.0.5","status":"affected"}],"vendor":"daaku","product":"daaku/nodejs-tmpl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.5"}],"ecosystem":"npm","package":"tmpl","purl":"pkg:npm/tmpl","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.5"}],"vendor":"tmpl_project","product":"tmpl","cpe":"cpe:2.3:a:tmpl_project:tmpl:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3777","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/daaku/nodejs-tmpl","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3777","url":"https://www.cve.org/CVERecord?id=CVE-2021-3777","licence":"CVE Terms of Use","modified":"2024-08-03T17:09:08.812Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jgrx-mgxx-jf9v","url":"https://github.com/advisories/GHSA-jgrx-mgxx-jf9v","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:16.022Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3777","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3777","licence":"Public domain","modified":"2026-06-17T04:05:44.610Z"}],"updatedAt":"2026-11-25T22:58:03.955Z","epss":{"score":0.01309,"percentile":0.71453,"date":"2026-12-01T12:00:22.000Z"}}