CVE-2021-22964: High severity fastify fastify-static vulnerability

Published Oct 14, 2021
·
Updated

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.

Affected Software

1 affected component
fastify fastify-static>=4.2.4<4.4.1

Remediation

Event History

Oct 14, 2021
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-22964?

CVE-2021-22964 is classified as a medium severity vulnerability due to its potential for misuse by remote attackers.

2

How do I fix CVE-2021-22964?

To fix CVE-2021-22964, update the `fastify-static` module to version 4.4.1 or later.

3

What types of attacks are possible with CVE-2021-22964?

CVE-2021-22964 allows for redirection attacks that can lead to denial of service or malicious site exposure.

4

Which versions of fastify-static are affected by CVE-2021-22964?

Fastify-static versions greater than or equal to 4.2.4 and less than 4.4.1 are affected by CVE-2021-22964.

5

What is the nature of the vulnerability in CVE-2021-22964?

CVE-2021-22964 is a redirect vulnerability that can lead to malicious URL redirection in web applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203