Is semver-regex 0.1 vulnerable?

npm · 2 releases from 0.1.0 to 0.1.1 · latest semver-regex is 4.0.5 · checked 2 Nov 2026

Yes: 2 known advisories

Yes. semver-regex 0.1.1, the last 0.1 release, is affected by 2 known security advisories (1 high, 1 low), including CVE-2021-3795, CVE-2021-43307. Upgrade to 3.1.4 or later to fix all of them.

Upgrade with:npm install semver-regex@3.1.4

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting semver-regex 0.1.1

  • LowCVE-2021-43307GHSA-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
  • HighCVE-2021-3795GHSA-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 are still on semver-regex 0.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.