Vulnerability · Published Sep 18, 2024 · Assigned by GitHub_M
CVE-2024-45813ReDoS vulnerability in multiparametric routes in find-my-way
Medium 5.3
In plain English
A medium-severity regular-expression denial of service in find-my-way from delvedor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | find-my-way | 8.2.2 | GHSA-rrr8-f88r-h8q6 |
| npm | find-my-way | 9.0.1 | GHSA-rrr8-f88r-h8q6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| delvedor | find-my-way | < 8.2.2= 9.0.0 |
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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