CVE-2021-22963

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductFastify-static
PublishedOct 14, 2021
First seenOct 14, 2021

How to fix

Update
  • fastify fastify-static4.2.4 or later
  • fastify-static4.2.4 or later

Affected products

ProductAffected versionsFixed in
fastify fastify-staticv < 4.2.44.2.4
fastify-staticnpmv < 4.2.44.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.