SCA: security update for fastify-static (GHSA-pgh6-m65r-2rhq)

high Tenable Cloud Security Plugin ID 417511

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote
attackers to redirect Mozilla Firefox users to arbitrary websites via a double slash `//` followed by a
domain: `http://localhost:3000//a//youtube.com/%2e%2e%2f%2e%2e`.A DOS vulnerability is possible if the URL
contains invalid characters `curl --path-as-is "http://localhost:3000//^/.."`The issue shows up on all the
`fastify-static` applications that set `redirect: true` option. By default, it is `false`.
(CVE-2021-22964)

See Also

https://github.com/advisories/GHSA-pgh6-m65r-2rhq

Plugin Details

Severity: High

ID: 417511

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

Percentile: 56.69

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-22964

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/12/2021

Vulnerability Publication Date: 10/12/2021

Reference Information

CVE: CVE-2021-22964