Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Modified
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity
- HIGH
Weaknesses
- nvd@nist.gov
- CWE-1333
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:semgrep:semgrep:*:*:*:*:*:*:*:*", "vulnerable": false, "matchCriteriaId": "2CC52CD5-31F0-4CC6-BB04-04DDB331AD42", "versionEndIncluding": "1.21.0" } ], "operator": "OR" }, { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:coala:git-url-parse:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "83D06CC5-06FA-4F72-BE31-F35ECB2A284F", "versionEndIncluding": "1.2.2" } ], "operator": "OR" } ], "operator": "AND" } ]