CVE-2022-21221

Directory Traversal

State
Published
Severity
5.9 Medium
Published
Mar 17, 2022
Updated
Sep 16, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Nsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
github.com/valyala/fasthttpn/a
  • before 1.34.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.