GitHub Advisory Database
GHSA-chw2-6c7r-37p7
uri-template-lite Regular Expression Denial of Service
Details
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 versions |
|---|---|---|
| npm | uri-template-lite | All versions before 22.9.0 (fixed in 22.9.0) |
References
- 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
- https://github.com/litejs/uri-template-lite/commits/v22.9.0
- https://research.jfrog.com/vulnerabilities/uri-template-lite-redos-xray-211351