VDB
Sign up
HIGH7.5

GHSA-rrr8-f88r-h8q6

find-my-way has a ReDoS vulnerability in multiparametric routes

Quick fix

GHSA-rrr8-f88r-h8q6 — find-my-way: upgrade to the fixed version with the command below.

npm install find-my-way@8.2.2

Details

### 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

- [CVE-2024-45296](https://github.com/advisories/GHSA-9wv6-86v2-598j) - [Detailed blog post about `path-to-regexp` vulnerability](https://blakeembrey.com/posts/2024-09-web-redos/)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/find-my-way
Introduced in: 5.5.0Fixed in: 8.2.2
Fixnpm install find-my-way@8.2.2
npm/find-my-way
Introduced in: 9.0.0Fixed in: 9.0.1
Fixnpm install find-my-way@9.0.1

References