{"id":"GHSA-rrr8-f88r-h8q6","summary":"find-my-way has a ReDoS vulnerability in multiparametric routes","details":"### Impact\n\nA bad regular expression is generated any time you have two parameters within a single segment, when adding a `-` at the end, like `/:a-:b-`.\n\n### Patches\n\nUpdate to find-my-way v8.2.2 or v9.0.1. or subsequent versions.\n\n### Workarounds\n\nNo known workarounds.\n\n### References\n\n- [CVE-2024-45296](https://github.com/advisories/GHSA-9wv6-86v2-598j)\n- [Detailed blog post about `path-to-regexp` vulnerability](https://blakeembrey.com/posts/2024-09-web-redos/)","aliases":["CVE-2024-45813"],"modified":"2024-10-07T21:52:21Z","published":"2024-09-18T15:52:33Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-09-18T15:52:33Z","nvd_published_at":"2024-09-18T17:15:19Z","cwe_ids":["CWE-1333"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/delvedor/find-my-way/security/advisories/GHSA-rrr8-f88r-h8q6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45813"},{"type":"WEB","url":"https://github.com/delvedor/find-my-way/commit/17fae694dcefc056045da201681c1530f0f80518"},{"type":"WEB","url":"https://github.com/delvedor/find-my-way/commit/5e9e0eb5d8d438e06a185d5e536a896572dd0440"},{"type":"WEB","url":"https://github.com/delvedor/find-my-way/commit/66fa03923355b8da1db4ba572d66a4fee4a57cf5"},{"type":"WEB","url":"https://blakeembrey.com/posts/2024-09-web-redos"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9wv6-86v2-598j"},{"type":"PACKAGE","url":"https://github.com/delvedor/find-my-way"}],"affected":[{"package":{"name":"find-my-way","ecosystem":"npm","purl":"pkg:npm/find-my-way"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.5.0"},{"fixed":"8.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-rrr8-f88r-h8q6/GHSA-rrr8-f88r-h8q6.json"}},{"package":{"name":"find-my-way","ecosystem":"npm","purl":"pkg:npm/find-my-way"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.0.0"},{"fixed":"9.0.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-rrr8-f88r-h8q6/GHSA-rrr8-f88r-h8q6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}