CVE Explore

Path Traversal in Fasthttp Project

CVE-2022-21221

CVSS v3
5.9 Medium
Public exploits
None known
EPSS
0.025 · 85.1th percentile
Published
2022-03-17

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Attack Vector
Network AV:N
Attack Complexity
High AC:H
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
High C:H
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.025, 85.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

References