CVE-2024-45813: find-my-way has a ReDoS vulnerability in multiparametric routes
Impact A bad regular expression is generated any time you have two parameters within a single segment, when adding a - at the end, like /:a-:b-. Patches Update to find-my-way v8.2.2 or v9.0.1. or subsequent versions. Workarounds No known workarounds. References - CVE-2024-45296 - Detailed blog post about path-to-regexp vulnerability
Published Sep 18, 2024 · Updated Oct 7, 2024
Affected packages
find-my-way
- Ecosystem
- npm
- Affected
- >= 9.0.0, < 9.0.1
- Fixed in
- 9.0.1
- Check
npm ls find-my-way
find-my-way
- Ecosystem
- npm
- Affected
- >= 5.5.0, < 8.2.2
- Fixed in
- 8.2.2
- Check
npm ls find-my-way
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A bad regular expression is generated any time you have two parameters within a single segment, when adding a - at the end, like /:a-:b-.
Patches
Update to find-my-way v8.2.2 or v9.0.1. or subsequent versions.
Workarounds
No known workarounds.
References
Credited to blakeembrey, mcollina, sealonohana.
References
- https://github.com/delvedor/find-my-way/security/advisories/GHSA-rrr8-f88r-h8q6
- https://github.com/delvedor/find-my-way/commit/17fae694dcefc056045da201681c1530f0f80518
- https://github.com/delvedor/find-my-way/commit/5e9e0eb5d8d438e06a185d5e536a896572dd0440
- https://blakeembrey.com/posts/2024-09-web-redos
- https://github.com/advisories/GHSA-9wv6-86v2-598j
- https://nvd.nist.gov/vuln/detail/CVE-2024-45813
- https://github.com/delvedor/find-my-way/commit/66fa03923355b8da1db4ba572d66a4fee4a57cf5
- https://github.com/advisories/GHSA-rrr8-f88r-h8q6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
