Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2021-22964
October 14, 2021
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 Packages
fastify-static (NPM):
Affected version(s) >=4.2.4 <4.4.1
Fix Suggestion:
Update to version 4.4.1
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
CVSS v2
Base Score:
6.8
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Weakness Type (CWE)
Uncaught Exception
URL Redirection to Untrusted Site ('Open Redirect')
Uncontrolled Resource Consumption
EPSS
Base Score:
0.36