delvedor/find-my-way · Security
find-my-way has a ReDoS vulnerability in multiparametric routes
- GHSA ID
- GHSA-rrr8-f88r-h8q6
- CVE ID
- CVE-2024-45813
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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
CWEs
- CWE-1333 · Inefficient Regular Expression Complexity
References
- https://github.com/delvedor/find-my-way/security/advisories/GHSA-rrr8-f88r-h8q6 ↗
- https://github.com/delvedor/find-my-way/commit/17fae694dcefc056045da201681c1530f0f80518 ↗
- https://github.com/delvedor/find-my-way/commit/5e9e0eb5d8d438e06a185d5e536a896572dd0440 ↗
- https://blakeembrey.com/posts/2024-09-web-redos ↗
- https://github.com/advisories/GHSA-9wv6-86v2-598j ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-45813 ↗
- https://github.com/delvedor/find-my-way/commit/66fa03923355b8da1db4ba572d66a4fee4a57cf5 ↗
- https://github.com/advisories/GHSA-rrr8-f88r-h8q6 ↗