CVE-2023-32758
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/05/2023
Last modified:
23/01/2025
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.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:coala:git-url-parse:*:*:*:*:*:*:*:* | 1.2.2 (including) | |
| cpe:2.3:a:semgrep:semgrep:*:*:*:*:*:*:*:* | 1.21.0 (including) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53
- https://github.com/returntocorp/semgrep/pull/7611
- https://github.com/returntocorp/semgrep/pull/7943
- https://github.com/returntocorp/semgrep/pull/7955
- https://pypi.org/project/git-url-parse
- https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53
- https://github.com/returntocorp/semgrep/pull/7611
- https://github.com/returntocorp/semgrep/pull/7943
- https://github.com/returntocorp/semgrep/pull/7955
- https://pypi.org/project/git-url-parse



