HighGHSA-x6fg-f45m-jf5qCVE-2015-8855

Regular Expression Denial of Service in semver

Published 24 Oct 2017 · Updated 4 Mar 2026

Affected package

Affected
>=1.0.4 <4.3.2
Fixed in
4.3.2
Update to the fixed version for your release line, for example:npm install semver@4.3.2

Details

Versions 4.3.1 and earlier of semver are affected by a regular expression denial of service vulnerability when extremely long version strings are parsed.

Recommendation

Update to version 4.3.2 or later

Is GHSA-x6fg-f45m-jf5q in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected semver, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.