{"api_version":"1","generated_at":"2026-06-26T23:45:02+00:00","cve":"CVE-2020-36565","urls":{"html":"https://cve.report/CVE-2020-36565","api":"https://cve.report/api/cve/CVE-2020-36565.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-36565","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-36565"},"summary":{"title":"CVE-2020-36565","description":"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.","state":"PUBLIC","assigner":"security@golang.org","published_at":"2022-12-07 17:15:00","updated_at":"2022-12-12 15:18:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa","name":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa","refsource":"MISC","tags":[],"title":"Merge pull request #1718 from little-cui/master · labstack/echo@4422e3b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://pkg.go.dev/vuln/GO-2021-0051","name":"https://pkg.go.dev/vuln/GO-2021-0051","refsource":"MISC","tags":[],"title":"GO-2021-0051 - Go Packages","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/labstack/echo/pull/1718","name":"https://github.com/labstack/echo/pull/1718","refsource":"MISC","tags":[],"title":"Fix Security Vulnerability - Directory Traversal by little-cui · Pull Request #1718 · labstack/echo · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36565","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36565","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"36565","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"labstack","cpe5":"echo","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"36565","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"microsoft","cpe5":"windows","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2020-36565","ASSIGNER":"security@golang.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"github.com/labstack/echo/v4","product":{"product_data":[{"product_name":"github.com/labstack/echo/v4","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"4.1.18-0.20201215153152-4422e3b66b9f"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/labstack/echo/pull/1718","refsource":"MISC","name":"https://github.com/labstack/echo/pull/1718"},{"url":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa","refsource":"MISC","name":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa"},{"url":"https://pkg.go.dev/vuln/GO-2021-0051","refsource":"MISC","name":"https://pkg.go.dev/vuln/GO-2021-0051"}]},"credits":[{"lang":"en","value":"@little-cui (Apache ServiceComb)"}]},"nvd":{"publishedDate":"2022-12-07 17:15:00","lastModifiedDate":"2022-12-12 15:18:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:labstack:echo:*:*:*:*:*:go:*:*","versionEndExcluding":"4.2.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":null,"notes":[]}}}