GHSA-4xqq-73wg-5mjp

Suggest an improvement
Source
https://github.com/advisories/GHSA-4xqq-73wg-5mjp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-4xqq-73wg-5mjp/GHSA-4xqq-73wg-5mjp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-4xqq-73wg-5mjp
Aliases
Published
2023-05-15T06:30:19Z
Modified
2023-11-06T05:24:54.562307Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
git-url-parse Regular Expression Denial of Service
Details

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.

Database specific
{
    "nvd_published_at": "2023-05-15T04:15:10Z",
    "cwe_ids": [
        "CWE-1333"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-15T20:51:51Z"
}
References

Affected packages

PyPI / git-url-parse

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.2.2

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.2.1
1.2.2