CVE-2024-45813
find-my-way: ReDoS vulnerability in multiparametric routes
Overview
Description
find-my-way is a fast, open source HTTP router, internally using a Radix Tree (aka compact Prefix Tree), supports route params, wildcards, and it's framework independent. A bad regular expression is generated any time one has two parameters within a single segment, when adding a - at the end, like /:a-:b-. This may cause a denial of service in some instances. Users are advised to update to find-my-way v8.2.2 or v9.0.1. or subsequent versions. There are no known workarounds for this issue.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-1333
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | find-my-way | >=5.5.0, <8.2.2>=9.0.0, <9.0.1 | 8.2.29.0.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-45813
- blakeembrey.com https://blakeembrey.com/posts/2024-09-web-redos
- github.com https://github.com/advisories/GHSA-9wv6-86v2-598j
- github.com https://github.com/delvedor/find-my-way
- github.com https://github.com/delvedor/find-my-way/commit/17fae694dcefc056045da201681c1530f0f80518
- github.com https://github.com/delvedor/find-my-way/commit/5e9e0eb5d8d438e06a185d5e536a896572dd0440
- github.com https://github.com/delvedor/find-my-way/commit/66fa03923355b8da1db4ba572d66a4fee4a57cf5
- github.com https://github.com/delvedor/find-my-way/security/advisories/GHSA-rrr8-f88r-h8q6
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-45813
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-45813
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.