Описание
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
Ссылки
- https://github.com/delvedor/find-my-way/security/advisories/GHSA-rrr8-f88r-h8q6
- https://nvd.nist.gov/vuln/detail/CVE-2024-45813
- https://github.com/delvedor/find-my-way/commit/17fae694dcefc056045da201681c1530f0f80518
- https://github.com/delvedor/find-my-way/commit/5e9e0eb5d8d438e06a185d5e536a896572dd0440
- https://github.com/delvedor/find-my-way/commit/66fa03923355b8da1db4ba572d66a4fee4a57cf5
- https://blakeembrey.com/posts/2024-09-web-redos
- https://github.com/advisories/GHSA-9wv6-86v2-598j
Пакеты
find-my-way
>= 5.5.0, < 8.2.2
8.2.2
find-my-way
>= 9.0.0, < 9.0.1
9.0.1
Связанные уязвимости
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.
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.
Уязвимость HTTP-маршрутизатора Find my Way, связанная с использованием регулярного выражения c неэффективной вычислительной сложностью, позволяющая нарушителю вызвать отказ в обслуживании (ReDos)