CVE-2023-33290
Description
The git-url-parse crate through 0.4.4 for Rust allows Regular Expression Denial of Service (ReDos) via a crafted URL to normalize_url in lib.rs, a similar issue to CVE-2023-32758 (Python).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
The git-url-parse crate for Rust (≤0.4.4) is vulnerable to ReDoS via a crafted URL in the normalize_url function.
Vulnerability
Overview The git-url-parse crate for Rust, through version 0.4.4, contains a Regular Expression Denial of Service (ReDoS) vulnerability. This issue is triggered by a crafted URL passed to the normalize_url function in lib.rs, as noted in the official CVE description [1]. The flaw is similar to CVE-2023-32758 found in Python, indicating a pattern of regex-inefficiency that can be exploited to cause excessive backtracking [1].
Exploitation
An attacker can exploit this vulnerability by providing a specially crafted URL string to any application or service that uses the git-url-parse crate to parse or normalize Git URLs. No authentication is required; the exploit can be delivered remotely (e.g., via an HTTP request or any input channel that supplies a URL to the parser). The normalize_url function uses a regex with a polynomial worst-case time complexity, and a malicious input can cause the regex engine to backtrack exponentially, consuming CPU resources [1][3].
Impact
Successful exploitation leads to a denial of service condition. The affected application may become unresponsive or crash due to CPU exhaustion, potentially impacting the availability of the entire service. This is a significant flaw for any Rust application that processes untrusted Git URLs, such as CI/CD pipelines, repository management tools, or version control integrations.
Mitigation
The vulnerability affects git-url-parse versions up to and including 0.4.4 [1]. Users should update to the latest patched version if available (the repository may have released a fix after the disclosure). As a workaround, applications can sanitize or limit the length/complexity of URLs before passing them to the parser. The CVE has been published and tracked, and developers are advised to monitor the crate's repository for a patched release [2].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
git-url-parsecrates.io | <= 0.4.4 | — |
Affected products
3- git-url-parse/git-url-parsedescription
- Range: <=0.4.4
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5News mentions
0No linked articles in our index yet.