CVE-2024-45813
ReDoS vulnerability in multiparametric routes in find-my-way
Reported by github_m · Published September 18, 2024
find-my-way is fixed in 9.0.1 and 8.2.2 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| find-my-way | npm | 9.0.1, 8.2.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| delvedor | find-my-way | < 8.2.2, = 9.0.0 |
| delvedor | find-my-way | 0, 9.0.0 |
| npm | find-my-way | 5.5.0, 9.0.0 |
Timeline
- Sep 18, 2024 CVE Published
- Sep 19, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 4, 2026 Security Advisory (10 in total, the first dated here)
- Apr 15, 2026 CVE Updated
- Nov 1, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-45813
vulnetix vdb fixes CVE-2024-45813
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45813/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/delvedor/find-my-way/security/advisories/GHSA-rrr8-f88r-h8q6 x_refsource_CONFIRM
- https://github.com/delvedor/find-my-way/commit/5e9e0eb5d8d438e06a185d5e536a896572dd0440 x_refsource_MISC
- https://blakeembrey.com/posts/2024-09-web-redos x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-45813 advisory
- https://github.com/advisories/GHSA-rrr8-f88r-h8q6 advisory
- https://github.com/delvedor/find-my-way/commit/17fae694dcefc056045da201681c1530f0f80518 patch
- https://github.com/delvedor/find-my-way/commit/66fa03923355b8da1db4ba572d66a4fee4a57cf5 patch
- https://github.com/advisories/GHSA-9wv6-86v2-598j advisory
- https://github.com/delvedor/find-my-way url