CVE-2021-22963: Medium severity fastify fastify-static vulnerability

Published Sep 29, 2021
·
Updated

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 Software

1 affected component
fastify fastify-static<4.2.4

Event History

Sep 29, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeakness
Oct 14, 2021
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionWeakness
Oct 18, 2021
Data Sourced
via Red Hat·02:09 PM
DescriptionSeverityAffected Software
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 CVE-2021-22963?

CVE-2021-22963 is a redirect vulnerability in the fastify-static module version < 4.2.4.

2

How does CVE-2021-22963 work?

CVE-2021-22963 allows remote attackers to redirect users to arbitrary websites by using a double slash followed by a domain in the URL.

3

What is the severity of CVE-2021-22963?

CVE-2021-22963 has a severity rating of 5.3 (medium).

4

Which software versions are affected by CVE-2021-22963?

Fastify-static module versions less than 4.2.4 are affected by CVE-2021-22963.

5

How can I fix CVE-2021-22963?

To fix CVE-2021-22963, you should update the fastify-static module to version 4.2.4 or higher.

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