CVE-2022-21221
Fasthttp Directory Traversal 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.
INFO
Published Date :
March 17, 2022, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 6:44 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-21221
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-21221
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-21221
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8 Added Reference https://github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1 Added Reference https://github.com/valyala/fasthttp/issues/1226 Added Reference https://github.com/valyala/fasthttp/releases/tag/v1.34.0 Added Reference https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Mar. 24, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8 No Types Assigned https://github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8 Patch, Third Party Advisory Changed Reference Type https://github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1 No Types Assigned https://github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1 Patch, Third Party Advisory Changed Reference Type https://github.com/valyala/fasthttp/issues/1226 No Types Assigned https://github.com/valyala/fasthttp/issues/1226 Exploit, Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/valyala/fasthttp/releases/tag/v1.34.0 No Types Assigned https://github.com/valyala/fasthttp/releases/tag/v1.34.0 Release Notes, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866 No Types Assigned https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866 Exploit, Patch, Third Party Advisory Added CWE NIST CWE-22 Added CPE Configuration AND OR *cpe:2.3:a:fasthttp_project:fasthttp:*:*:*:*:*:*:*:* versions up to (excluding) 1.34.0 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-21221
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-21221
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.25 }} -0.07%
score
0.64069
percentile