GHSA-c2qf-rxjj-qqgw

Suggest an improvement
Source
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-c2qf-rxjj-qqgw/GHSA-c2qf-rxjj-qqgw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c2qf-rxjj-qqgw
Aliases
Related
Published
2023-06-21T06:30:28Z
Modified
2024-12-06T20:34:31Z
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
semver vulnerable to Regular Expression Denial of Service
Details

Versions of the package semver before 7.5.2 on the 7.x branch, before 6.3.1 on the 6.x branch, and all other versions before 5.7.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Database specific
{
    "nvd_published_at": "2023-06-21T05:15:09Z",
    "cwe_ids": [
        "CWE-1333"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-22T16:52:56Z"
}
References

Affected packages

npm / semver

Package

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.5.2

npm / semver

Package

Affected ranges

Type
SEMVER
Events
Introduced
6.0.0
Fixed
6.3.1

npm / semver

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.2