🛡️ CVE-2022-21221
🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-22 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity MEDIUM
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE CWE-22
Public Exploit ⚠️ Yes
Source NVD
Published 2022-03-17
Updated 2026-06-15
Modified 2024-11-21

Affected Packages

Software From version Fixed in
fasthttp 1.34.0
github.com/valyala/fasthttp

References

Exploit, Issue Tracking, Patch, Third Party Advisory https://github.com/valyala/fasthttp/issues/1226
Release Notes, Third Party Advisory https://github.com/valyala/fasthttp/releases/tag/v1.34.0
Exploit, Issue Tracking, Patch, Third Party Advisory https://github.com/valyala/fasthttp/issues/1226
Release Notes, Third Party Advisory https://github.com/valyala/fasthttp/releases/tag/v1.34.0

Similar Threats

Site Security Check

Concerned your site may already be targeted?

BotEraser analyzes incoming traffic patterns and helps identify bot behavior consistent with known exploit attempts.

Check My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.