CVEvulnerability
CVE-2023-32758
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-05-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
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 configurations
• coala git-url-parse (<= 1.2.2)
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53 Product
- https://github.com/returntocorp/semgrep/pull/7611 Issue Tracking, Patch
- https://github.com/returntocorp/semgrep/pull/7943 github.com
- https://github.com/returntocorp/semgrep/pull/7955 github.com
- https://pypi.org/project/git-url-parse Product
- https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53 Product
- https://github.com/returntocorp/semgrep/pull/7611 Issue Tracking, Patch
- https://github.com/returntocorp/semgrep/pull/7943 github.com
- https://github.com/returntocorp/semgrep/pull/7955 github.com
- https://pypi.org/project/git-url-parse Product