Skip to content
Heist/ feed
Back to feed
Medium

golang-github-labstack-echo — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-36565

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.

Products
golang-github-labstack-echo
Affected versions
4.11.1-2, 4.12.0-1, 4.2.1-2
Fixed versions
Not specified
CVEs
CVE-2020-36565
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:52 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-36565

core-osv · Original source

Published 7 Dec 2022, 17:15 UTC

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.

osv:UBUNTU-CVE-2020-36565

golang-github-labstack-echo

Fixed versions: Not specified

golang-github-labstack-echo

Fixed versions: Not specified

golang-github-labstack-echo

Fixed versions: Not specified

golang-github-labstack-echo

Fixed versions: Not specified

golang-github-labstack-echo

Fixed versions: Not specified

Complete source record
{
  "id": "8018f4007f6be3aa0d74f8d8266dcaf6c02545efbaa117dbb3fd67458fac3869",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-36565",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-36565",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2020-36565",
    "products": [
      {
        "name": {
          "value": "golang-github-labstack-echo",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.2.1-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-labstack-echo",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.11.1-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-labstack-echo",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.12.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-labstack-echo",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.12.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-labstack-echo",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.12.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2020-36565",
      "aliases": [
        "UBUNTU-CVE-2020-36565"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "negligible"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-labstack-echo",
            "purl": "pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36565.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-labstack-echo-dev",
                "binary_version": "4.2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-labstack-echo",
            "purl": "pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.11.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36565.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-labstack-echo-dev",
                "binary_version": "4.11.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-labstack-echo",
            "purl": "pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.12.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36565.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-labstack-echo-dev",
                "binary_version": "4.12.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-labstack-echo",
            "purl": "pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.12.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36565.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-labstack-echo-dev",
                "binary_version": "4.12.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-labstack-echo",
            "purl": "pkg:deb/ubuntu/golang-github-labstack-echo?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.12.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-36565.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-labstack-echo-dev",
                "binary_version": "4.12.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:14.124403986Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-36565"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-36565",
        "https://pkg.go.dev/vuln/GO-2021-0051",
        "https://github.com/labstack/echo/pull/1718",
        "https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa",
        "https://www.cve.org/CVERecord?id=CVE-2020-36565"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-36565",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354994,
  "published_at": "2022-12-07T17:15:00+00:00"
}