| { |
| "schema_version": "1.3.1", |
| "id": "GO-2021-0051", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2021-04-14T20:04:52Z", |
| "aliases": [ |
| "CVE-2020-36565", |
| "GHSA-j453-hm5x-c46w" |
| ], |
| "summary": "Directory traversal on Windows in github.com/labstack/echo/v4", |
| "details": "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.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/labstack/echo/v4", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "4.1.18-0.20201215153152-4422e3b66b9f" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/labstack/echo/v4", |
| "goos": [ |
| "windows" |
| ], |
| "symbols": [ |
| "Echo.Static", |
| "Group.Static", |
| "common.static" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/labstack/echo/pull/1718" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "@little-cui (Apache ServiceComb)" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2021-0051", |
| "review_status": "REVIEWED" |
| } |
| } |