PT-2024-31549

CVE-2024-45296

·

تاريخ النشر

2024-09-09

·

تاريخ التحديث

2026-10-30

الوصف من

CVSS 4.0
7.7
عالية
المقاييسAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
Name of the Vulnerable Software and Affected Versions path-to-regexp versions prior to 0.1.10 path-to-regexp versions prior to 8.0.0
Description The issue arises when path-to-regexp generates a regular expression that can cause poor performance, leading to a Denial of Service (DoS). This occurs when there are two parameters within a single segment, separated by something that is not a period (.). For example, /:a-:b can produce a regular expression that can be exploited. The estimated impact is significant, with performance being over 1000x worse than safe regex in local benchmarks. In a realistic environment, this can result in average latency of ~600ms vs 1ms.
Recommendations For users of 0.1, upgrade to 0.1.10. For all other users, upgrade to 8.0.0. As a temporary workaround, consider providing a custom regular expression for parameters after the first in a single segment, ensuring it does not match the text before the parameter. Alternatively, limit the URL length to improve performance, for example, by halving the attack string, which can improve performance by 4x faster.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-37CH-88JC-XWX2
GHSA-9WV6-86V2-598J
AZL-49085
AZL-49103
AZL-49117
AZL-49158
AZL-49161
CLEANSTART-2026-DG43720
CLEANSTART-2026-DV63106
CLEANSTART-2026-HD43718
CLEANSTART-2026-UN12149
ECHO-76C4-20A9-8AA9
OPENSUSE-SU-2024:14374-1
OPENSUSE-SU-2025:14663-1
RHSA-2024:10762
USN-8290-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾