CVE-2020-36830: ReDoS in urlregex
A vulnerability was found in nescalante urlregex up to 0.5.0 and classified as problematic. This issue affects some unknown processing of the file index.js of the component Backtracking. The manipulation leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.5.1 is able to address this issue.
Published Sep 2, 2024 · Updated Sep 3, 2024
Affected packages
urlregex
- Ecosystem
- npm
- Affected
- < 0.5.1
- Fixed in
- 0.5.1
- Check
npm ls urlregex
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found in nescalante urlregex up to 0.5.0 and classified as problematic. This issue affects some unknown processing of the file index.js of the component Backtracking. The manipulation leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 0.5.1 is able to address this issue. The identifier of the patch is e5a085afe6abfaea1d1a78f54c45af9ef43ca1f9. It is recommended to upgrade the affected component.
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-36830
- https://github.com/nescalante/urlregex/pull/8
- https://github.com/nescalante/urlregex/commit/e5a085afe6abfaea1d1a78f54c45af9ef43ca1f9
- https://github.com/nescalante/urlregex/releases/tag/v0.5.1
- https://vuldb.com/?ctiid.276269
- https://vuldb.com/?id.276269
- https://github.com/advisories/GHSA-rw72-v6c7-hf9r
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
