CVE-2022-21221

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-21221
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-21221.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-21221
Aliases
Related
  • SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866
Published
2022-03-17T12:15:08Z
Modified
2025-01-08T14:11:51.347912Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/valyala/fasthttp

Affected ranges

Type
GIT
Repo
https://github.com/valyala/fasthttp
Events

Affected versions

v1.*

v1.0.0
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.13.0
v1.13.1
v1.14.0
v1.15.0
v1.15.1
v1.16.0
v1.17.0
v1.18.0
v1.19.0
v1.2.0
v1.20.0
v1.21.0
v1.22.0
v1.23.0
v1.24.0
v1.25.0
v1.26.0
v1.27.0
v1.28.0
v1.29.0
v1.3.0
v1.30.0
v1.31.0
v1.32.0
v1.33.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.7.1
v1.8.0
v1.9.0

Other

v20160316
v20160419
v20160617
v20180529