~ / search / GHSA-c2qf-rxjj-qqgw

GHSA-c2qf-rxjj-qqgw

semver vulnerable to Regular Expression Denial of Service

Source: GitHub Advisory Database (reviewed) High CVE-2022-25883

Packages

EcosystemPackageAffectedFixed in
npm semver >= 7.0.0, < 7.5.2 7.5.2
npm semver >= 6.0.0, < 6.3.1 6.3.1
npm semver >= 2.0.0-alpha, < 5.7.2 5.7.2

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.