semver@5.4.1 vulnerabilities

The semantic version parser used by npm.

  • latest version

    7.7.3

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the semver package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

    semver is a semantic version parser used by npm.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade semver to version 5.7.2, 6.3.1, 7.5.2 or higher.

    <5.7.2>=6.0.0 <6.3.1>=7.0.0 <7.5.2