CVE-2023-32758
Python vulnerability analysis and mitigation

Overview

giturlparse (also known as git-url-parse) through version 1.2.2, as used in Semgrep versions 1.5.2 through 1.24.1, contains a Regular Expression Denial of Service (ReDoS) vulnerability when parsing untrusted URLs. The vulnerability was discovered in May 2023 and affects the URL parsing functionality (NVD).

Technical details

The vulnerability exists in the URL parsing functionality where untrusted URLs are processed using potentially inefficient regular expressions. This becomes particularly relevant when Semgrep analyzes untrusted packages, specifically when checking whether a package accesses Git repositories via HTTP URLs. The issue has a CVSS v3.1 Base Score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

If exploited, an attacker can cause a denial of service condition by placing a ReDoS attack payload in a URL used by the package. This can lead to excessive CPU usage and potential system unresponsiveness when Semgrep processes these maliciously crafted URLs (NVD).

Mitigation and workarounds

The issue was addressed through multiple fixes in Semgrep, including improvements to the git URL parser and implementation of URL length limits. Pull requests #7943 and #7955 were merged to fix the vulnerability, with the latter adding a 1024-byte limit on git URLs for performance and security reasons (Semgrep PR 7943, Semgrep PR 7955).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-65958HIGH8.5
  • PythonPython
  • cpe:2.3:a:openwebui:open_webui
NoYesDec 04, 2025
CVE-2025-56427HIGH7.5
  • PythonPython
  • composio
NoNoDec 04, 2025
CVE-2025-63681MEDIUM4.3
  • PythonPython
  • open-webui
NoNoDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management