CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
Percentile
61.6%
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.
Author | Note |
---|---|
mdeslaur | windows-specific |
github.com/valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f3604d00e8
github.com/valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed2554c1
github.com/valyala/fasthttp/issues/1226
github.com/valyala/fasthttp/releases/tag/v1.34.0
launchpad.net/bugs/cve/CVE-2022-21221
nvd.nist.gov/vuln/detail/CVE-2022-21221
security-tracker.debian.org/tracker/CVE-2022-21221
snyk.io/vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866
www.cve.org/CVERecord?id=CVE-2022-21221
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:N/C:P/I:N/A:N
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
Percentile
61.6%