CVE-2021-43307

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43307
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43307.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43307
Aliases
Related
Published
2022-06-02T14:15:30Z
Modified
2025-07-29T10:10:04.749289Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/sindresorhus/semver-regex

Affected ranges

Type
GIT
Repo
https://github.com/sindresorhus/semver-regex
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.1.1

v1.*

v1.0.0

v2.*

v2.0.0

v3.*

v3.0.0
v3.1.0
v3.1.1
v3.1.2