Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-21221— Directory Traversal

Quick assessment

Affected
n/a github.com/valyala/fasthttp
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

fasthttp是Go 的快速 HTTP 实现。 fasthttp 1.34.0之前版本存在安全漏洞,该漏洞源于ServerFile函数缺少有效的过滤转义,导致目录遍历。攻击者可以发送“/%5c”字符利用该漏洞实现目录遍历。

CVSS 5.9 · Medium EPSS 2.50% · P84

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-21221

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Directory Traversal
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
fasthttp 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
fasthttp是Go 的快速 HTTP 实现。 fasthttp 1.34.0之前版本存在安全漏洞,该漏洞源于ServerFile函数缺少有效的过滤转义,导致目录遍历。攻击者可以发送“/%5c”字符利用该漏洞实现目录遍历。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- github.com/valyala/fasthttp unspecified ~ 1.34.0 -

II. Public POCs for CVE-2022-21221

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-21221

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-21221 (2)

Other References for CVE-2022-21221 (2)

Same Patch Batch · n/a · 2022-03-17 · 36 CVEs total

CVE-2022-0748 9.8 CRITICAL Arbitrary Code Execution
CVE-2022-25354 8.6 HIGH Prototype Pollution
CVE-2022-25352 7.5 HIGH Prototype Pollution
CVE-2022-0749 7.4 HIGH Deserialization of Untrusted Data
CVE-2022-25760 7.1 HIGH Arbitrary Code Injection
CVE-2021-23632 6.6 MEDIUM Remote Code Execution (RCE)
CVE-2021-23771 6.5 MEDIUM Sandbox Bypass
CVE-2021-23556 6.4 MEDIUM Exposed Dangerous Method or Function
CVE-2022-25296 6.3 MEDIUM Prototype Pollution
CVE-2020-15591 F*EX 代码注入漏洞
CVE-2021-44260 WAVLINK AC1200 访问控制错误漏洞
CVE-2022-26503 Veeam Agent for Windows 代码问题漏洞
CVE-2022-25364 Gradle 安全漏洞
CVE-2021-45040 Spatie Laravel Media Library Pro 代码问题漏洞
CVE-2022-26501 Veeam Backup&Replication 访问控制错误漏洞
CVE-2021-46107 Ligeo Archives 代码问题漏洞
CVE-2022-26504 Veeam Backup&Replication 授权问题漏洞
CVE-2022-26500 Veeam Backup&Replication 路径遍历漏洞
CVE-2022-24302 Paramiko 竞争条件问题漏洞
CVE-2021-44088 Attendance and Payroll System SQL注入漏洞

Showing top 20 of 36 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2022-21221

No comments yet


Leave a comment