CVE-2024-45296
No exploitation reported by the sources we read.
- Published2024-09-09
- Fixed in8.0.0 · 6.3.0 · 3.3.0 · 1.9.0 · 0.1.13 · 0.1.10
- WeaknessCWE-1333
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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. 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.
Timeline
dates in UTC- 2024-09-0919:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-45296?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-45296?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | ≥ 0.2.0, < 8.0.0 | 8.0.0 | CISA-ADP |
| 8.0 | ≥ 7.0.0, < 8.0.0 | 8.0.0 | OSV |
| 6.3 | ≥ 4.0.0, < 6.3.0 | 6.3.0 | OSV |
| 3.3 | ≥ 2.0.0, < 3.3.0 | 3.3.0 | OSV |
| 1.9 | ≥ 0.2.0, < 1.9.0 | 1.9.0 | OSV |
| 0.1 | < 0.1.13 | 0.1.13 | OSV |
| 0.1 | < 0.1.10 | 0.1.10 | OSV |
| 0.1 | < 0.1.0 | 0.1.0 | CISA-ADP |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
Red Hat Security Advisory: RHOAI 2.16.0 - Red Hat OpenShift AI
Red Hat Security Advisory: RHOAI 2.16.0 - Red Hat OpenShift AI
Red Hat Security Advisory: OpenShift Container Platform 4.18.1 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.17.15 security and extras update
Red Hat Security Advisory: Release of OpenShift Serverless Logic 1.35.0 security update & enhancements
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix Update
1 more advisory
Fix
- Update Pillarjs path-to-regexp to 8.0.0 · 6.3.0 · 3.3.0 · 1.9.0 · 0.1.13 · 0.1.10 · 0.1.0
- Vendor fix Red Hat Product Security RHSA-2025:3397 · 1 productFor Red Hat OpenShift AI 2.16.0 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
- Vendor fix Red Hat Product Security RHSA-2024:6122 · 662 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.18/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2025:0875 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.17/release_notes/ocp-4-1…
- Vendor fix Red Hat Product Security RHSA-2025:0664 · 27 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:8676 · 13 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:7922 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.17/release_notes/o…
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2024-09-09
- Last Modified
- 2026-06-17
- NVD status
- Deferred
Frequently asked questions
What is CVE-2024-45296?
Is CVE-2024-45296 actively exploited?
What is the CVSS score for CVE-2024-45296?
Running path-to-regexp? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.