CVE-2021-43307

published 1 Jun 2022 · updated 17 Sep 2024

Exponential ReDoS in semver-regex

5.9MediumCVSS 5.9EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.1.4.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
semver-regex<3.1.43.1.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-43307 severity on Zeptric[![CVE-2021-43307](https://zeptric.io/badge/cve/CVE-2021-43307.svg)](https://zeptric.io/cve/CVE-2021-43307)