PT-2021-15300 · Unknown · Fastify-Static

Drstrnegth

·

Published

2021-10-05

·

Updated

2021-10-20

·

CVE-2021-22963

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions fastify-static versions prior to 4.2.4
Description A redirect issue in the fastify-static module allows remote attackers to redirect users to arbitrary websites via a double slash // followed by a domain. The issue affects fastify-static applications that have the redirect: true option set. By default, this option is false.
Recommendations For versions prior to 4.2.4, update to fastify-static version 4.2.4 or later to resolve the issue. As a temporary workaround, consider using the rewriteUrl server option to sanitize input URLs if updating is not an option.

Exploit

Fix

Open Redirect

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-22963
GHSA-P6VG-P826-QP3V

Affected Products

Fastify-Static