fast-uri is vulnerable to Server-Side Request Forgery (SSRF)
84
CVE Score
High
Server-Side Request Forgery (SSRF)
URI authority parsing does not treat a literal backslash as a delimiter, while Node's WHATWG URL normalizes \ to / for special schemes. The same input can therefore yield different hosts in fast-uri versus fetch()/undici, so host allowlists, SSRF filters, or redirect checks based on fast-uri can be bypassed. The fix rejects URIs whose authority contains a literal backslash.
Upgrade the fast-uri library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use fast-uri for host-based policy checks before passing the same URL to Node's URL or fetch() consumers.
2.3.1 - 2.4.2
Fixed in 2.4.33.0.0 - 3.1.3
Fixed in 3.1.44.0.0 - 4.1.0
Fixed in 4.1.1fast-uri is vulnerable to Server-Side Request Forgery (SSRF) in versions 2.3.1 - 2.4.2, 3.0.0 - 3.1.3 and 4.0.0 - 4.1.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.