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.
Published: 2022-03-17
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-1419 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.
Github GHSA Github GHSA GHSA-fx95-883v-4q4h Path traversal in github.com/valyala/fasthttp
History

No history.

Subscriptions

Fasthttp Project Fasthttp
Microsoft Windows
cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-09-16T18:34:58.514Z

Reserved: 2022-02-24T00:00:00.000Z

Link: CVE-2022-21221

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-03-17T12:15:08.087

Modified: 2024-11-21T06:44:08.563

Link: CVE-2022-21221

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses