Intel

AIKIDO-2024-10293

github.com/valyala/fasthttp is vulnerable to Open Redirect

Open Redirect Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 25, 2024

55

Medium Risk

This Affects:

gogithub.com/valyala/fasthttp
0.1.0 - 1.52.0
Fixed in 1.53.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to open redirect due to improper handling of malformed URLs. Attackers can exploit this vulnerability by sending a URL containing a comma (e.g., http://example.com,/) to the Validator, bypassing URL blocklist validation. This allows attackers to send requests to a blocklisted hostname, potentially leading to SSRF (Server-Side Request Forgery) and RCE (Remote Code Execution) attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/valyala/fasthttp is vulnerable to Open Redirect in versions 0.1.0 - 1.52.0.

How to fix this

Upgrade the github.com/valyala/fasthttp library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform