CVE-2024-45296

node-path-to-regexp: path-to-regexp turns path strings into a regular expressions

CVE-2024-45296 is fixed in node-path-to-regexp on 1 platform, first by node-path-to-regexp 1.0.1-1ubuntu0.18.04.1~esm1, released September 9, 2024. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0093
60th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
node-path-to-regexp · Debian 13.5 (trixie) 6.3.0-1 DEBIAN-CVE-2024-45296 Sep 9, 2024
node-path-to-regexp · Debian 14 6.3.0-1 DEBIAN-CVE-2024-45296 Sep 9, 2024
node-path-to-regexp · Ubuntu 18.04.6 LTS (bionic) 1.0.1-1ubuntu0.18.04.1~esm1 node-path-to-regexp 1.0.1-1ubuntu0.18.04.1~esm1 Sep 9, 2024
node-path-to-regexp · Ubuntu 20.04 LTS (focal) 6.1.0-2ubuntu0.1~esm1 node-path-to-regexp 6.1.0-2ubuntu0.1~esm1 Sep 9, 2024
node-path-to-regexp · Ubuntu 22.04.1 LTS (jammy) 6.2.0-2ubuntu0.1~esm1 node-path-to-regexp 6.2.0-2ubuntu0.1~esm1 Sep 9, 2024
node-path-to-regexp · Ubuntu 24.04.5 LTS (noble) 6.2.1-1ubuntu0.1~esm1 node-path-to-regexp 6.2.1-1ubuntu0.1~esm1 Sep 9, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.