Is semver-regex 3.1 vulnerable?
npm · 5 releases from 3.1.0 to 3.1.4 · latest semver-regex is 4.0.5 · checked 2 Nov 2026
No known advisories in the last release
semver-regex 3.1.4, the last 3.1 release, has no known advisories. 2 advisories affect earlier 3.1.x releases, so update to 3.1.4.
Update within 3.1:
npm install semver-regex@3.1.4Fixed within 3.1.x, affecting earlier releases
Regular expression denial of service in semver-regex
- Affected
- <3.1.4 · >=4.0.0 <4.0.3
- Fixed in
- 3.1.4, 4.0.3
semver-regex Regular Expression Denial of Service (ReDOS)
- Affected
- <3.1.3 · >=4.0.0 <4.0.1
- Fixed in
- 3.1.3, 4.0.1
Which of your client projects are still on semver-regex 3.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact semver-regex version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other semver-regex versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.