medium5.9
CVE-2021-43309
uri-template-lite Regular Expression Denial of Service
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | uri-template-lite | < 22.9.0 | 22.9.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Litejs | Uri-Template-Lite | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/
- https://github.com/advisories/GHSA-chw2-6c7r-37p7
- https://nvd.nist.gov/vuln/detail/CVE-2021-43309
- https://github.com/litejs/uri-template-lite/commit/cbeec2b2a275d819fb534137a155df14729706f8
- https://github.com/litejs/uri-template-lite/commits/v22.9.0