cve/2024/CVE-2024-45296.md

26 lines
1.6 KiB
Markdown
Raw Normal View History

2025-09-29 16:08:36 +00:00
### [CVE-2024-45296](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45296)
![](https://img.shields.io/static/v1?label=Product&message=path-to-regexp&color=blue)
2025-09-29 21:09:30 +02:00
![](https://img.shields.io/static/v1?label=Version&message=%3C%200.1.10%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200.2.0%2C%20%3C%208.0.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=0.2.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-1333%3A%20Inefficient%20Regular%20Expression%20Complexity&color=brightgreen)
2025-09-29 16:08:36 +00:00
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/Floydian-dk/plex-hue-control
- https://github.com/Icare741/TPTrivy
- https://github.com/KatenKyoukotsu/devsecops
- https://github.com/andrewbearsley/lacework-sca-scan-example
- https://github.com/felipecruz91/biznagafest24
2025-09-29 21:09:30 +02:00
- https://github.com/fkie-cad/nvd-json-data-feeds
2025-09-29 16:08:36 +00:00