{"id":"CVE-2021-3777","aliases":["CLSA-2026-1782781172","EUVD-2021-2085","GHSA-jgrx-mgxx-jf9v"],"status":"published","title":"Inefficient Regular Expression Complexity in daaku/nodejs-tmpl","description":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01309,"percentile":0.71028,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-400"],"published":"2021-09-15T07:15:11Z","modified":"2026-10-20T10:54:50Z","fixes":[{"ecosystem":"npm","package":"tmpl","fixed_in":["1.0.5"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"tmpl","fixed_in":["1.0.4-tuxcare.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"tmpl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"tmpl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.4-tuxcare.0"},{"fixed":"1.0.4-tuxcare.1"}]}],"versions":["1.0.4"]},{"source":"osv","ecosystem":"npm","package":"tmpl","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]}],"products":[{"vendor":"daaku","product":"daaku/nodejs-tmpl"},{"vendor":"tmpl_project","product":"tmpl"}],"references":[{"url":"https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3777","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-jgrx-mgxx-jf9v"},{"url":"https://github.com/daaku/nodejs-tmpl","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-3777","title":"Inefficient Regular Expression Complexity in daaku/nodejs-tmpl","description":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","status":"published","published":"2021-09-15T07:15:11Z","modified":"2024-08-03T17:09:08.812Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2021-2085","description":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","status":"published","published":"2021-09-15T07:15:11Z","modified":"2024-08-03T17:09:08Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:11.953192Z"}],"ghsa":[{"id":"GHSA-jgrx-mgxx-jf9v","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.","status":"published","published":"2021-09-20T20:27:52Z","modified":"2023-11-29T22:30:12Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:37:23.843848Z"}],"nvd":[{"id":"CVE-2021-3777","description":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","status":"published","published":"2021-09-15T08:15:06.673Z","modified":"2026-06-17T04:05:44.61Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:06:58.502206Z"}],"osv":[{"id":"CVE-2021-3777","description":"nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity","status":"published","published":"2021-09-15T08:15:06.673Z","modified":"2026-10-20T10:54:50.821021437Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.434873Z"},{"id":"GHSA-jgrx-mgxx-jf9v","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.","status":"published","published":"2021-09-20T20:27:52Z","modified":"2026-09-10T03:49:16.02236012Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:50.336262Z"},{"id":"CLSA-2026-1782781172","title":"TuxCare security update for tmpl (1 CVE)","description":"TuxCare rebuilt tmpl to address 1 CVE. Fixed in 1.0.4-tuxcare.1.","status":"published","published":"2026-08-04T14:52:40Z","modified":"2026-10-15T09:47:51.640421692Z","updated_at":"2026-11-02T15:43:45.794021Z"}]}}
