find-my-way is Vulnerable to DDoS with HTTP2
Description
find-my-way is a framework-independent HTTP router that internally uses a Radix Tree and supports route parameters and wildcards. Versions prior to 9.7.0 are vulnerable to remotely triggerable DoS in find-my-way when it is used with Node's HTTP/2 server. The lookup() function passes req.method into find(), and find() indexes this.trees[method]. Since this.trees is a normal object, HTTP/2 method values like constructor, toString, or __proto__ can resolve inherited object properties instead of returning undefined. The code then treats that value like a router node and crashes when it reaches currentNode.prefix.length. This issue has been fixed in version 9.0.7.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
find-my-waynpm | < 9.7.0 | 9.7.0 |
Affected products
1- Range: <9.7.0, >=9.0.7
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-c96f-x56v-gq3hghsaADVISORY
- github.com/delvedor/find-my-way/commit/cfe3fd6168b5ac1594c0820fb83fce251a533fc1ghsaWEB
- github.com/delvedor/find-my-way/pull/434ghsaWEB
- github.com/delvedor/find-my-way/releases/tag/v9.7.0ghsaWEB
- github.com/delvedor/find-my-way/security/advisories/GHSA-c96f-x56v-gq3hghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.