Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. urlregex
  4. ›
  5. CVE-2020-36830

CVE-2020-36830: ReDoS in urlregex

September 2, 2024 (updated September 3, 2024)

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

  • github.com/advisories/GHSA-rw72-v6c7-hf9r
  • github.com/nescalante/urlregex
  • github.com/nescalante/urlregex/commit/e5a085afe6abfaea1d1a78f54c45af9ef43ca1f9
  • github.com/nescalante/urlregex/pull/8
  • github.com/nescalante/urlregex/releases/tag/v0.5.1
  • nvd.nist.gov/vuln/detail/CVE-2020-36830
  • vuldb.com/?ctiid.276269
  • vuldb.com/?id.276269

Code Behaviors & Features

Detect and mitigate CVE-2020-36830 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.1

Fixed versions

  • 0.5.1

Solution

Upgrade to version 0.5.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/urlregex/CVE-2020-36830.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.