Lucene search

K
githubGitHub Advisory DatabaseGHSA-C2QF-RXJJ-QQGW
HistoryJun 21, 2023 - 6:30 a.m.

semver vulnerable to Regular Expression Denial of Service

2023-06-2106:30:28
CWE-1333
GitHub Advisory Database
github.com
32
semver
package
vulnerability
regular expression denial of service
redos
7.x branch
6.x branch
new range
untrusted user data

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.002

Percentile

53.0%

Versions of the package semver before 7.5.2 on the 7.x branch, before 6.3.1 on the 6.x branch, and all other versions before 5.7.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Affected configurations

Vulners
Node
semver-regex_projectsemver-regexRange7.0.0โ€“7.5.2
OR
semver-regex_projectsemver-regexRange<5.7.2
OR
semver-regex_projectsemver-regexRange6.0.0โ€“6.3.1
VendorProductVersionCPE
semver-regex_projectsemver-regex*cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.002

Percentile

53.0%