{"id":"CVE-2021-22963","published":"2021-10-14T14:50:11Z","modified":"2024-08-03T18:58:26Z","title":"A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01169,"percentile":0.68193,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://hackerone.com/reports/1354255","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":13.64}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/fastify/fastify-static","versions":["Affects < v4.2.4. Fixed in >= v4.2.4"]}],"affected":[{"ecosystem":"npm","package":"fastify-static","vulnerableRanges":["<4.2.4"],"patched":["4.2.4"],"from":["GHSA-p6vg-p826-qp3v"],"provenance":"source"}],"summary":{"text":"The fastify-static module (versions below 4.2.4) contains an open redirect flaw in how it handles requests with a double slash before a domain, such as the crafted URL http://localhost:3000//google.com/%2e%2e. An attacker can exploit it remotely to send users to arbitrary external websites, but only in applications where the redirect: true option is explicitly enabled, since it is disabled by default.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:26Z"},"euvd":{"id":"EUVD-2021-2234","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-22963","published":"2021-10-14","fixed":"4.2.4","kev":false},{"cve":"CVE-2021-22964","published":"2021-10-14","fixed":"4.4.1","kev":false,"link":{"from":"CVE-2021-22963","to":"CVE-2021-22964","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fastify-static","fromFixed":"4.2.4","toFixed":"4.4.1","daysApart":0},{"kind":"similar","provenance":"machine","score":0.86,"basis":"same package + description similarity"}]}}],"package":"npm:fastify-static"}}