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

Configuration 1 (hide)

AND
cpe:2.3:a:coala:git-url-parse:*:*:*:*:*:*:*:*
cpe:2.3:a:semgrep:semgrep:*:*:*:*:*:*:*:*

History

21 Nov 2024, 08:03

Type Values Removed Values Added
References () https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53 - Product () https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53 - Product
References () https://github.com/returntocorp/semgrep/pull/7611 - Issue Tracking, Patch () https://github.com/returntocorp/semgrep/pull/7611 - Issue Tracking, Patch
References () https://github.com/returntocorp/semgrep/pull/7943 - () https://github.com/returntocorp/semgrep/pull/7943 -
References () https://github.com/returntocorp/semgrep/pull/7955 - () https://github.com/returntocorp/semgrep/pull/7955 -
References () https://pypi.org/project/git-url-parse - Product () https://pypi.org/project/git-url-parse - Product

Information

Published : 2023-05-15 04:15

Updated : 2025-01-23 20:15


NVD link : CVE-2023-32758

Mitre link : CVE-2023-32758

CVE.ORG link : CVE-2023-32758


JSON object : View

Products Affected

semgrep

  • semgrep

coala

  • git-url-parse
CWE
CWE-1333

Inefficient Regular Expression Complexity