Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-22964

8.8 · HIGH
Published Oct 14, 2021 fastify CWE-400 EPSS 1.02% (61th pctl)

Overview

CVE-2021-22964 is a high-severity vulnerability affecting fastify fastify-static. It was published on October 14, 2021 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect Mozilla Firefox users to arbitrary websites via a double slash `//` followed by a domain: `http://localhost:3000//a//youtube.com/%2e%2e%2f%2e%2e`.A DOS vulnerability is possible if the URL contains invalid characters `curl --path-as-is "http://localhost:3000//^/.."`The issue shows up on all the `fastify-static` applications that set `redirect: true` option. By default, it is `false`.

Remediation

Check the references section for vendor advisories and patches from fastify. Update fastify-static to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
fastify fastify-static >= 4.2.4, < 4.4.1 Affected

Frequently Asked Questions

What is CVE-2021-22964?

CVE-2021-22964 is a high-severity vulnerability affecting fastify fastify-static. It was published on October 14, 2021 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2021-22964?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-22964?

Check the references section for vendor advisories and patches from fastify. Update fastify-static to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-22964?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-22964 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.