GO-2022-0355

    Dashboard / Vulnerabilities / GO-2022-0355

    GO-2022-0355

    Published: 27 Jul 2022Last Modified: 8 Jul 2026

    Summary: Path traversal in github.com/valyala/fasthttp

    Details: The fasthttp.FS request handler is vulnerable to directory traversal attacks on Windows systems, and can serve files from outside the provided root directory. URL path normalization does not handle Windows path separators (backslashes), permitting an attacker to construct requests with relative paths.

    Affected packages

    Package

    Name: github.com/valyala/fasthttp

    Purl: pkg:golang/github.com/valyala/fasthttp

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.34.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2022-0355 | CVE-DB