Vulnerability · Published May 15, 2023 · Assigned by mitre

CVE-2023-32758

High 7.5

In plain English

A high-severity regular-expression denial of service in the git-url-parse package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.0%top 36.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

giturlparse (aka git-url-parse) through 1.2.2, as used in Semgrep 1.5.2 through 1.24.1, is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing untrusted URLs. This might be relevant if Semgrep is analyzing an untrusted package (for example, to check whether it accesses any Git repository at an http:// URL), and that package's author placed a ReDoS attack payload in a URL used by the package.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIgit-url-parseno fix listedGHSA-4xqq-73wg-5mjp
PyPIgit-url-parseno fix listedPYSEC-2026-1404

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References