Skip to content

← Public intelligence

npm package

semver-regex

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratednpmAmendedPublished

    Regular expression denial of service in semver-regex

    CVE-2021-43307 · GHSA-4x5v-gmq8-25ch

    Affected
    • npm semver-regex < 3.1.4; >= 4.0.0, < 4.0.3
    Fixed in
    3.1.44.0.3· Vendor fix available
    Issue
    An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the semver-regex npm package, when an attacker is able to supply arbitrary input to the test() method

    Recommended action: Upgrade to 4.0.3 or 3.1.4 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 7.5npmAmendedPublished

    semver-regex Regular Expression Denial of Service (ReDOS)

    CVE-2021-3795 · GHSA-44c6-4v22-4mhx

    Affected
    • npm semver-regex < 3.1.3; >= 4.0.0, <= 4.0.0
    Fixed in
    3.1.34.0.1· Vendor fix available
    Issue
    npm semver-regex is vulnerable to Inefficient Regular Expression Complexity

    Recommended action: Upgrade to 4.0.1 or 3.1.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →