Affected versions
npmdevcert
- Affected versions
- < 1.2.1
- Fixed version
- 1.2.1
Exploitation
Description
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the devcert npm package, when an attacker is able to supply arbitrary input to the certificateFor method
Links
- https://github.com/advisories/GHSA-fp36-299x-pwmw
- https://github.com/davewasmer/devcert
- https://github.com/davewasmer/devcert/commit/b0763215f6683271d296fda98f7ef7bcd4a55977
- https://nvd.nist.gov/vuln/detail/CVE-2022-1929
- https://research.jfrog.com/vulnerabilities/devcert-redos-xray-211352
- https://research.jfrog.com/vulnerabilities/devcert-redos-xray-211352/

