semver-regex vulnerabilities

Regular expression for matching semver versions

Registry
npm
Latest
4.0.5
License
MIT

2 known advisories

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

Update to the latest version:npm install semver-regex@4.0.5

Security advisories for semver-regex

  • LowGHSA-4x5v-gmq8-25ch3 Jun 2022

    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
  • HighGHSA-44c6-4v22-4mhx20 Sept 2021

    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 still run an old semver-regex?

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.