GHSA-chw2-6c7r-37p7
uri-template-lite Regular Expression Denial of Service
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | uri-template-lite | < 22.9.0 | 22.9.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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