CVE-2022-21221 MEDIUM

CVE-2022-21221: Directory Traversal

Vendor N/A
Product github.com/valyala/fasthttp
Published March 17, 2022
Last update September 16, 2024

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 17, 2022 CVE published
September 16, 2024 Record updated