CVE-2021-22963

fastify-static: open redirect via an URL with double slash followed by a domain

Published Oct 14, 2021 CVSS 3.1 · 6.1 Medium EPSS 1.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2234 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.
Github GHSA Github GHSA GHSA-p6vg-p826-qp3v URL Redirection to Untrusted Site ('Open Redirect') in fastify-static
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat acm
CPEs cpe:/a:redhat:acm:2.4::el8
Vendors & Products Redhat
Redhat acm
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.4::el8
Vendors & Products Redhat
Redhat acm
Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 3, 2024, 6:58 PM
Reserved
Jan 6, 2021, 12:00 AM
Status
Modified
Published
Oct 14, 2021, 3:15 PM
Modified
Jun 17, 2026, 3:38 AM
Severity
Moderate
Public date
Sep 29, 2021, 12:00 AM