Redirect Vulnerability in Fastify-Static Module by Fastify
CVE-2021-22963
6.1MEDIUM
What is CVE-2021-22963?
The fastify-static module prior to version 4.2.4 contains a redirect vulnerability that allows remote attackers to redirect users to malicious websites. When the redirect option is enabled (defaulting to false), a crafted request containing a double slash followed by a domain can exploit this flaw. This vulnerability affects all applications utilizing the fastify-static module without adequate input validation, potentially exposing users to phishing attacks or other security risks.
Affected Version(s)
https://github.com/fastify/fastify-static Affects < v4.2.4. Fixed in >= v4.2.4
