logo

CVE-2021-43307 semver-regex

Package

Manager: npm
Name: semver-regex
Vulnerable Version: >=0 <3.1.4 || >=4.0.0 <4.0.3

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

EPSS: 0.02163 pctl0.83635

Details

Regular expression denial of service in semver-regex 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

Metadata

Created: 2022-06-03T00:01:00Z
Modified: 2023-07-19T19:58:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-4x5v-gmq8-25ch/GHSA-4x5v-gmq8-25ch.json
CWE IDs: ["CWE-1333"]
Alternative ID: GHSA-4x5v-gmq8-25ch
Finding: F211
Auto approve: 1