CVE-2022-21221

Directory Traversal

Published Mar 17, 2022 CVSS 3.1 · 5.9 Medium EPSS 2.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 6:34 PM
Reserved
Feb 24, 2022, 12:00 AM
Status
Modified
Published
Mar 17, 2022, 12:15 PM
Modified
Jun 17, 2026, 4:25 AM