GHSA-4x5v-gmq8-25ch

Suggest an improvement
Source
https://github.com/advisories/GHSA-4x5v-gmq8-25ch
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-4x5v-gmq8-25ch/GHSA-4x5v-gmq8-25ch.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4x5v-gmq8-25ch
Aliases
Related
Published
2022-06-03T00:01:00Z
Modified
2023-11-08T04:07:09.605083Z
Summary
Regular expression denial of service in semver-regex
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

Database specific
{
    "github_reviewed_at": "2022-06-03T22:26:33Z",
    "severity": "LOW",
    "cwe_ids": [
        "CWE-1333"
    ],
    "github_reviewed": true,
    "nvd_published_at": "2022-06-02T14:15:00Z"
}
References

Affected packages

npm / semver-regex

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.4

npm / semver-regex

Package

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.0.3