CVE-2021-43309
HIGH 7.5CVSS 3.1uri-template-lite Regular Expression Denial of Service
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the uri-template-lite npm package, when an attacker is able to supply arbitrary input to the "URI.expand" method
- Published
- 24 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- reefs@jfrog.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-697
- Also known as
- GHSA-chw2-6c7r-37p7
- Sources
- NVDJSONOSV GHSA-chw2-6c7r-37p7JSON
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 | reefs@jfrog.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | litejs | uri-template-litecpe:2.3:a:litejs:uri-template-lite:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | uri-template-lite | < 22.9.0 | 22.9.0 |
References
- https://github.com/litejs/uri-template-lite/compare/v22.1.0...v22.9.0
- https://research.jfrog.com/vulnerabilities/uri-template-lite-redos-xray-211351/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43309 · ADVISORY
- https://github.com/litejs/uri-template-lite/commit/cbeec2b2a275d819fb534137a155df14729706f8 · WEB
- https://github.com/litejs/uri-template-lite · PACKAGE
- https://github.com/litejs/uri-template-lite/commits/v22.9.0 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Aug 2022)