7.5
CWE
1333
Advisory Published
Advisory Published
Updated

CVE-2024-45296: path-to-regexp outputs backtracking regular expressions

First published: Mon Sep 09 2024(Updated: )

pillarjs Path-to-RegExp is vulnerable to a denial of service, caused by a regular expression denial of service (ReDoS) flaw. By sending a specially crafted regex request, a remote attacker could exploit this vulnerability to cause a denial of service condition.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
npm/path-to-regexp>=4.0.0<6.3.0
6.3.0
npm/path-to-regexp>=7.0.0<8.0.0
8.0.0
npm/path-to-regexp>=2.0.0<3.3.0
3.3.0
npm/path-to-regexp>=0.2.0<1.9.0
1.9.0
npm/path-to-regexp<0.1.10
0.1.10
IBM QRadar WinCollect Agent<=10.0-10.1.12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-45296?

    CVE-2024-45296 is categorized as a denial of service vulnerability.

  • How do I fix CVE-2024-45296?

    To mitigate CVE-2024-45296, upgrade the 'path-to-regexp' package to version 6.3.0 or higher, or to version 3.3.0 if using a lower version.

  • Which versions of 'path-to-regexp' are affected by CVE-2024-45296?

    CVE-2024-45296 affects 'path-to-regexp' versions from 4.0.0 up to 6.3.0, as well as other variations like 7.x.x that are between 6.3.0 and 8.0.0.

  • What can an attacker do with CVE-2024-45296?

    An attacker can exploit CVE-2024-45296 to cause a denial of service condition through specially crafted regex requests.

  • Is my software affected by CVE-2024-45296?

    You may be affected by CVE-2024-45296 if you are using specific versions of 'path-to-regexp' or IBM QRadar WinCollect Agent that fall within the affected ranges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203