find-my-way is vulnerable to Denial of Service (DoS)
75
High Risk
The router stores its method trees in a plain JavaScript object and looks them up with this.trees[method] using the incoming request method. When find-my-way is used behind a Node.js HTTP/2 server, a request can supply method values such as constructor, toString, or __proto__, which resolve to inherited object properties instead of returning undefined. The router then treats the inherited property as a route node and throws when it reads currentNode.prefix.length, crashing the server process. The fix creates the method tree object with a null prototype so unknown methods resolve to undefined and fall through to the default route.
You are affected if you are using a version that falls within the vulnerable range and find-my-way is used with a Node.js HTTP/2 server.
find-my-way is vulnerable to Denial of Service (DoS) in versions 3.0.5 - 9.6.0.
Upgrade the find-my-way library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant