CVE-2021-43307

Source
https://cve.org/CVERecord?id=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:30.987Z
Modified
2026-04-10T04:39:59.310509Z
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
Introduced
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.1.4"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.3"
        }
    ]
}

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
v4.*
v4.0.0
v4.0.1
v4.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43307.json"