Vulnerabilities · 2021 · Fastify
CVE-2021-22963
Fastify-static vulnerability
A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbitrary websites via a double slash // followed by a domain: http://localhost:3000//google.com/%2e%2e.The issue shows up on all the fastify-static applications that set redirect: true option. By default, it is false.
Affected products
Fastify-static. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Fastify-static runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Fastify products
CVE-2026-33806CVE-2026-25224CVE-2026-25223CVE-2025-66415CVE-2025-32442CVE-2023-51701CVE-2023-31999CVE-2023-29020All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.