{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36565","id":"CVE-2020-36565","title":"Directory traversal on Windows in github.com/labstack/echo/v4","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.","descriptionLong":"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.","published":"2022-12-07T16:14:43.946Z","updated":"2026-10-20T10:54:22.353390466Z","reserved":"2022-07-29T18:52:35.508Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["github.com/labstack/echo/v4"],"affectedProducts":[{"vendor":"github.com/labstack/echo/v4","product":"github.com/labstack/echo/v4","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"4.1.18-0.20201215153152-4422e3b66b9f","status":"affected","versionType":"semver"}],"platforms":["windows"]}],"packages":[{"ecosystem":"Go","name":"github.com/labstack/echo/v4","purl":"pkg:golang/github.com/labstack/echo/v4","ranges":["<4.2.0","<4.1.18-0.20201215153152-4422e3b66b9f"],"fixed":["4.2.0","4.1.18-0.20201215153152-4422e3b66b9f"],"advisory":"GHSA-j453-hm5x-c46w"}],"cwes":["CWE-22"],"aliases":["GHSA-j453-hm5x-c46w","GO-2021-0051"],"references":[{"url":"https://github.com/labstack/echo/pull/1718","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0051","tags":["x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36565","tags":["advisory"]},{"url":"https://github.com/labstack/echo","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01351,"epssPercentile":0.72127,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36565","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36565","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36565","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j453-hm5x-c46w","ok":true,"note":"GHSA-j453-hm5x-c46w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-36565","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}