logo

CVE-2022-21221 github.com/valyala/fasthttp

Package

Manager: go
Name: github.com/valyala/fasthttp
Vulnerable Version: >=0 <1.34.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.0094 pctl0.75336

Details

Path traversal in github.com/valyala/fasthttp The package github.com/valyala/fasthttp before 1.34.0 is 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.

Metadata

Created: 2022-03-18T00:01:11Z
Modified: 2024-05-20T20:47:46Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-fx95-883v-4q4h/GHSA-fx95-883v-4q4h.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-fx95-883v-4q4h
Finding: F063
Auto approve: 1