~ / search / GHSA-4x5v-gmq8-25ch

GHSA-4x5v-gmq8-25ch

Regular expression denial of service in semver-regex

Source: GitHub Advisory Database (reviewed) Low CVE-2021-43307

Packages

EcosystemPackageAffectedFixed in
npm semver-regex < 3.1.4 3.1.4
npm semver-regex >= 4.0.0, < 4.0.3 4.0.3

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.