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.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.7%top 47.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmfind-my-way8.2.2GHSA-rrr8-f88r-h8q6
npmfind-my-way9.0.1GHSA-rrr8-f88r-h8q6

Affected products (as reported)

VendorProductVersions
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