Vulnerability in Semver-Regex

CVE-2021-43307

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

Vulnerability class: ReDoS (Regular Expression Denial of Service)

EPSS: 0.016 (72.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-43307?
CVE-2021-43307 is a medium-severity vulnerability in Semver-Regex, classified under Inefficient Regular Expression Complexity. CVSS score: 5.9/10. Published 2022-06-02.
How severe is CVE-2021-43307?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2021-43307 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.