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-08-08T16:23:00Z
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.

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