CyberRota Analysis
AI-GeneratedApplications utilizing fast-uri versions prior to 4.1.2, 3.1.5, and 2.4.4 are vulnerable to discrepancies in URI authority parsing, which can lead to improper host extraction and potential security policy bypasses. This vulnerability can be exploited to manipulate host-based policies, such as allowlists or SSRF filtering, resulting in unauthorized access to unintended hosts. Organizations that rely on fast-uri for URL validation and security enforcement should prioritize upgrading to the specified versions 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
fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.