CVE-2021-3777
HIGH 7.5CVSS 3.1tmpl vulnerable to Inefficient Regular Expression Complexity which may lead to resource exhaustion
nodejs-tmpl is vulnerable to Inefficient Regular Expression Complexity
- Published
- 15 Sep 2021
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-jgrx-mgxx-jf9v
- Sources
- NVDJSONOSV GHSA-jgrx-mgxx-jf9vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tmpl_project | tmplcpe:2.3:a:tmpl_project:tmpl:*:*:*:*:*:node.js:*:* |
< 1.0.5 | 1.0.5 |
| OSV | npm | tmpl | < 1.0.5 | 1.0.5 |
References
- https://github.com/daaku/nodejs-tmpl/commit/4c654e4d1542f329ed561fd95ccd80f30c6872d6 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/a07b547a-f457-41c9-9d89-ee48bee8a4df · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3777 · ADVISORY
- https://github.com/daaku/nodejs-tmpl · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 15 Sep 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Sep 2021)