CyberRota Analysis
AI-GeneratedThe find-my-way HTTP router is vulnerable to a remotely triggerable Denial of Service (DoS) attack when used with Node's HTTP/2 server in versions prior to 9.7.0. Attackers can exploit the lookup() function to manipulate HTTP/2 method values, leading to a crash of the router due to improper handling of inherited object properties. Organizations using affected versions should prioritize upgrading to version 9.0.7 or later to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.