Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-45296
September 09, 2024
path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.
Affected Packages
path-to-regexp (NPM):
Affected version(s) >=0.0.1 <0.1.10
Fix Suggestion:
Update to version 0.1.10
path-to-regexp (NPM):
Affected version(s) >=4.0.0 <6.3.0
Fix Suggestion:
Update to version 6.3.0
path-to-regexp (NPM):
Affected version(s) >=2.0.0 <3.3.0
Fix Suggestion:
Update to version 3.3.0
path-to-regexp (NPM):
Affected version(s) >=0.2.0 <1.9.0
Fix Suggestion:
Update to version 1.9.0
path-to-regexp (NPM):
Affected version(s) >=7.0.0 <8.0.0
Fix Suggestion:
Update to version 8.0.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
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
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Regular Expression Complexity
EPSS
Base Score:
0.1