Skip to main content
← All vulnerabilities
CVE-2020-36565GO-2021-0051GHSA-J453-HM5X-C46W

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.18-0.20201215153152-4422e3b66b9f, 4.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • github.com/labstack/echo/v4

    fixed in 4.1.18-0.20201215153152-4422e3b66b9f

  • github.com/labstack/echo/v4Go

    fixed in 4.1.18-0.20201215153152-4422e3b66b9f

  • github.com/labstack/echo/v4Go

    fixed in 4.2.0

References 3

GitHub · labstack/echo

pkg.go.dev