Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2020-7661 EUVD-2020-0514GHSA-v4rh-8p82-6h5w

Regular expression denial of service in url-regex

Published Jun 4, 2020 · Updated Aug 4, 2024 · Assigned by snyk

Description

all versions of url-regex are vulnerable to Regular Expression Denial of Service. An attacker providing a very long string in String.test can cause a Denial of Service.

Affected products

VendorProductAffectedFixed
— url-regex all versions —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • spamscanner/url-regex-safe ★ 81 · Aug 15, 2020

    Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661 for Node.js servers.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm url-regex <= 5.0.0 — GHSA-v4rh-8p82-6h5w

References