{"id":"CVE-2020-36565","published":"2022-12-07T16:14:43Z","modified":"2025-04-23T15:38:30Z","title":"Directory traversal on Windows in github.com/labstack/echo/v4","vendor":"github.com/labstack/echo/v4","product":"github.com/labstack/echo/v4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01351,"percentile":0.72213,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/labstack/echo/pull/1718","tags":[]},{"url":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2021-0051","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":14.44},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"github-com-labstack-echo-v4","affectedVersions":[{"vendor":"github.com/labstack/echo/v4","product":"github.com/labstack/echo/v4","versions":["< 4.1.18-0.20201215153152-4422e3b66b9f"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:38:06.629425Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":["<4.2.0","<4.1.18-0.20201215153152-4422e3b66b9f"],"patched":["4.2.0","4.1.18-0.20201215153152-4422e3b66b9f"],"from":["GHSA-j453-hm5x-c46w","GO-2021-0051"],"provenance":"source"}],"summary":{"text":"The flaw is a directory traversal weakness in the static file handler of github.com/labstack/echo/v4 on Windows, caused by improper sanitization of user-supplied input. An unauthenticated remote attacker, with network access and no user interaction, can read files outside the intended directory that the server process has permission to read.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:34Z"},"euvd":{"id":"EUVD-2022-7655","exploited":false,"provenance":"source"}}