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.1Fix Suggestion:
Update to version 4.4.1Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS 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)
EPSS
Base Score:
0.36