{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-22964","published":"2021-10-14T15:15:08.933000Z","last_modified":"2026-06-17T03:38:07.180000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400","CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*","part":"a","vendor":"fastify","product":"fastify-static","version_start_including":"4.2.4","version_end_excluding":"4.4.1"}],"cpes_truncated":false,"vendors":["fastify"],"products":["fastify/fastify-static"],"epss":{"score":0.01021,"percentile":0.64396,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pgh6-m65r-2rhq","ecosystem":"npm","name":"fastify-static","purl":"pkg:npm/fastify-static","ranges":[{"introduced":"4.2.4","fixed":"4.4.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2021-22964/","html_en":"/en/cve/CVE-2021-22964/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22964","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22964"},"untrusted":{"vendor_name":"Fastify","product_name":"Fastify-static","desc_en":"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":[],"references":[{"url":"https://hackerone.com/reports/1361804","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]}]}}