Vulnerability

CVE-2022-21221

highCVSS 3.1 7.5Published 17 Mar 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Fasthttp Project fasthttp
  • Microsoft windows

Weakness type

References

  • github.com /valyala/fasthttp/commit/15262ecf3c602364639d465daba1e7f360…
  • github.com /valyala/fasthttp/commit/6b5bc7bb304975147b4af68df54ac214ed…
  • github.com /valyala/fasthttp/issues/1226
  • github.com /valyala/fasthttp/releases/tag/v1.34.0
  • snyk.io /vuln/SNYK-GOLANG-GITHUBCOMVALYALAFASTHTTP-2407866

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning