CVE-2022-25883
June 21, 2023
Versions of the package semver before 7.5.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 Packages
semver (NPM):
Affected version(s) >=7.0.0 <7.5.2Fix Suggestion:
Update to version 7.5.2semver (NPM):
Affected version(s) >=2.0.0-alpha <5.7.2Fix Suggestion:
Update to version 5.7.2semver (NPM):
Affected version(s) >=6.0.0 <6.3.1Fix Suggestion:
Update to version 6.3.1Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (18)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Exploit Maturity
PROOF-OF-CONCEPT
Weakness Type (CWE)
Inefficient Regular Expression Complexity
EPSS
Base Score:
0.6