{"id":"CVE-2023-32758","sourceIdentifier":"cve@mitre.org","published":"2023-05-15T04:15:10.330","lastModified":"2026-06-17T05:59:32.180","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-23T19:35:33.714679Z","id":"CVE-2023-32758","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-1333"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-1333"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coala:git-url-parse:*:*:*:*:*:*:*:*","versionEndIncluding":"1.2.2","matchCriteriaId":"83D06CC5-06FA-4F72-BE31-F35ECB2A284F"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:a:semgrep:semgrep:*:*:*:*:*:*:*:*","versionEndIncluding":"1.21.0","matchCriteriaId":"2CC52CD5-31F0-4CC6-BB04-04DDB331AD42"}]}]}],"references":[{"url":"https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/returntocorp/semgrep/pull/7611","source":"cve@mitre.org","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/returntocorp/semgrep/pull/7943","source":"cve@mitre.org"},{"url":"https://github.com/returntocorp/semgrep/pull/7955","source":"cve@mitre.org"},{"url":"https://pypi.org/project/git-url-parse","source":"cve@mitre.org","tags":["Product"]},{"url":"https://github.com/coala/git-url-parse/blob/master/giturlparse/parser.py#L53","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://github.com/returntocorp/semgrep/pull/7611","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/returntocorp/semgrep/pull/7943","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/returntocorp/semgrep/pull/7955","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pypi.org/project/git-url-parse","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]}]}