Open Redirect in Fastify Fastify-static

CVE-2021-22963

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 o…

Vulnerability class: Open Redirect

EPSS: 0.011 (62.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

  • Fastify Fastify-static
  • N/a Https://github.com/fastify/fastify-static — versions Affects < v4.2.4. Fixed in >= v4.2.4

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-22963?
CVE-2021-22963 is a medium-severity vulnerability in Fastify Fastify-static, classified under URL Redirection to Untrusted Site (Open Redirect). CVSS score: 6.1/10. Published 2021-10-14.
How severe is CVE-2021-22963?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2021-22963 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.