GO-2021-0051

    Dashboard / Vulnerabilities / GO-2021-0051

    GO-2021-0051

    Published: 14 Apr 2021Last Modified: 20 May 2024

    Summary: Directory traversal on Windows in github.com/labstack/echo/v4

    Details: Due to improper sanitization of user input on Windows, the static file handler allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.

    Affected packages

    Package

    Name: github.com/labstack/echo/v4

    Purl: pkg:golang/github.com/labstack/echo/v4

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -4.1.18-0.20201215153152-4422e3b66b9f

    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-2021-0051 | CVE-DB