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
24
semver
package
vulnerability
regular expression denial of service
redos
7.x branch
6.x branch
new range
untrusted user data

7.5 High

CVSS3

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

0.001 Low

EPSS

Percentile

51.1%

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-regexRange<7.5.2
OR
semver-regex_projectsemver-regexRange<5.7.2
OR
semver-regex_projectsemver-regexRange<6.3.1
CPENameOperatorVersion
semverlt7.5.2
semverlt5.7.2
semverlt6.3.1

7.5 High

CVSS3

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

0.001 Low

EPSS

Percentile

51.1%