Advisory

GHSA-4xqq-73wg-5mjp

Also known as: CVE-2023-32758, PYSEC-2026-1404

Summary

git-url-parse Regular Expression Denial of Service

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-05-15 06:30 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

git-url-parse

PyPI · All systems

Affected

  • introduced 0, last affected 1.2.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences