HighGHSA-44c6-4v22-4mhxCVE-2021-3795
semver-regex Regular Expression Denial of Service (ReDOS)
Published 20 Sept 2021 · Updated 10 Sept 2026
Affected packages
semver-regexnpm
- Affected
- <3.1.3
- Fixed in
- 3.1.3
Update to the fixed version for your release line, for example:
npm install semver-regex@3.1.3semver-regexnpm
- Affected
- >=4.0.0 <4.0.1
- Fixed in
- 4.0.1
Update to the fixed version for your release line, for example:
npm install semver-regex@4.0.1Details
npm semver-regex is vulnerable to Inefficient Regular Expression Complexity
Is GHSA-44c6-4v22-4mhx 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-regex, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.