Skip to main content
← All vulnerabilities
CVE-2021-43307GHSA-4X5V-GMQ8-25CH

Exponential ReDoS in semver-regex

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.4, 4.0.3
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • semver-regex semver-regex

    fixed in 3.1.4

  • semver-regexnpm

    fixed in 3.1.4

  • semver-regexnpm

    From 4.0.0 · fixed in 4.0.3

References 1

research.jfrog.com