CVEFinder.io

CVE-2021-22964

⚠️ high
🔍 Scan for this CVE
Summary

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 `

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`.

CVSS Score
8.8
High
EPSS Score
0.4
Exploit Probability
Published Date
2021-10-14
First Seen: 2026-01-05
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 81.0% of all 340,405 vulnerabilities in our database.

#64,719
Top 25% most severe
Severity Percentile
Last Modified 2024-11-21
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 1

https://hackerone.com/reports/1361804
Exploit Issue Tracking Patch Third Party Advisory

🔗 Related CVEs 3

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-15074 ⚠️ high 7.5 0.5 @fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the... 2026-07-23
CVE-2026-7120 🔶 medium 5.3 0.2 @fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the ... 2026-07-23
CVE-2021-22963 🔶 medium 6.1 0.2 A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbit... 2021-10-14
These CVEs affect the same products