semver vulnerabilities

The semantic version parser used by npm.

Registry
npm
Latest
7.8.5
License
ISC

2 known advisories

The latest version, 7.8.5, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install semver@7.8.5

Security advisories for semver

  • HighGHSA-c2qf-rxjj-qqgw21 Jun 2023

    semver vulnerable to Regular Expression Denial of Service

    Affected
    >=7.0.0 <7.5.2 · >=6.0.0 <6.3.1 · >=2.0.0-alpha <5.7.2
    Fixed in
    5.7.2, 6.3.1, 7.5.2
  • HighGHSA-x6fg-f45m-jf5q24 Oct 2017

    Regular Expression Denial of Service in semver

    Affected
    >=1.0.4 <4.3.2
    Fixed in
    4.3.2

Which of your client projects still run an old semver?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.