CVE-2024-52798

path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x

Published Dec 5, 2024 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3506 path-to-regexp contains a ReDoS
Github GHSA Github GHSA GHSA-rhx6-c78j-4q9w path-to-regexp contains a ReDoS
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00049}

epss

{'score': 0.00047}

Type Values Removed Values Added
Metrics epss

{'score': 0.00044}

epss

{'score': 0.00049}

Type Values Removed Values Added
First Time appeared Redhat apache Camel Hawtio
CPEs cpe:/a:redhat:rhboac_hawtio:4 cpe:/a:redhat:apache_camel_hawtio:4.2::el6
Vendors & Products Redhat rhboac Hawtio
Redhat apache Camel Hawtio
Type Values Removed Values Added
First Time appeared Redhat rhboac Hawtio
CPEs cpe:/a:redhat:rhboac_hawtio:4
Vendors & Products Redhat rhboac Hawtio
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai:2.16::el8
cpe:/a:redhat:rhdh:1.5::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhdh:1.3::el9
Type Values Removed Values Added
First Time appeared Redhat openshift Ai
Redhat rhdh
CPEs cpe:/a:redhat:openshift_ai:2.17::el8
cpe:/a:redhat:rhdh:1.4::el9
Vendors & Products Redhat openshift Ai
Redhat rhdh
Type Values Removed Values Added
First Time appeared Redhat
Redhat discovery
Redhat openshift
Redhat openshift Data Foundation
Redhat service Mesh
CPEs cpe:/a:redhat:openshift:4.17::el9
cpe:/a:redhat:openshift_data_foundation:4.16::el9
cpe:/a:redhat:openshift_data_foundation:4.17::el9
cpe:/a:redhat:service_mesh:2.5::el8
cpe:/o:redhat:discovery:1.0::el9
Vendors & Products Redhat
Redhat discovery
Redhat openshift
Redhat openshift Data Foundation
Redhat service Mesh
Type Values Removed Values Added
First Time appeared Pillarjs
Pillarjs path-to-regexp
CPEs cpe:2.3:a:pillarjs:path-to-regexp:*:*:*:*:*:*:*:*
Vendors & Products Pillarjs
Pillarjs path-to-regexp
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Description 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.
Title path-to-regexp Unpatched `path-to-regexp` ReDoS in 0.1.x
Weaknesses CWE-1333
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 24, 2025, 8:03 PM
Reserved
Nov 15, 2024, 5:11 PM
Status
Deferred
Published
Dec 5, 2024, 11:15 PM
Modified
Jun 17, 2026, 8:07 AM
Severity
Moderate
Public date
Dec 5, 2024, 10:45 PM