GHSA-fx95-883v-4q4h

Suggest an improvement
Source
https://github.com/advisories/GHSA-fx95-883v-4q4h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-fx95-883v-4q4h/GHSA-fx95-883v-4q4h.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fx95-883v-4q4h
Aliases
Published
2022-03-18T00:01:11Z
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
Path traversal in github.com/valyala/fasthttp
Details

The package github.com/valyala/fasthttp before 1.34.0 is 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.

Database specific
{
    "nvd_published_at": "2022-03-17T12:15:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-18T22:58:55Z"
}
References

Affected packages

Go / github.com/valyala/fasthttp

Package

Name
github.com/valyala/fasthttp
View open source insights on deps.dev
Purl
pkg:golang/github.com/valyala/fasthttp

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34.0