Vulnerability in Pillarjs Path-To-Regexp

CVE-2024-52798

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. The regular expression that is vulnerable to backtracking can be generated in the 0.1.x release of path-to-regexp. Upgrade to 0.1.12. This vulnerability exists because of an incomplete fix for CVE-2024-45296.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

Published · last modified .

EPSS exploit prediction

EPSS 0.008, 56.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 3 other repositories (andrewbearsley/lacework-sca-scan-example, KatenKyoukotsu/devsecops, mathworks/MATLAB-language-server). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References