Skip to main content
← All vulnerabilities
CVE-2022-21221GO-2022-0355GHSA-FX95-883V-4Q4HSNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866

Directory Traversal

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.34.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a github.com/valyala/fasthttp

    fixed in 1.34.0

  • github.com/valyala/fasthttpGo

    fixed in 1.34.0

References 5

snyk.io

GitHub · valyala/fasthttp