SCA: security update for github.com/valyala/fasthttp (GHSA-fx95-883v-4q4h)

high Tenable Cloud Security Plugin ID 414760

Description

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

- The package github.com/valyala/fasthttp before 1.34.0 are vulnerable to Directory Traversal via the
ServeFile function, due to improper sanitization. It is possible to be exploited by using a backslash %5c
character in the path. **Note:** This security issue impacts Windows users only. (CVE-2022-21221)

See Also

https://github.com/advisories/GHSA-fx95-883v-4q4h

Plugin Details

Severity: High

ID: 414760

Version: Revision 1.6

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: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2022-21221

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/18/2022

Vulnerability Publication Date: 3/17/2022

Reference Information

CVE: CVE-2022-21221

cwe: CWE-22