| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2020-36565" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Directory traversal on Windows in github.com/labstack/echo/v4", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "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." |
| } |
| ], |
| "affected": [ |
| { |
| "vendor": "github.com/labstack/echo/v4", |
| "product": "github.com/labstack/echo/v4", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "github.com/labstack/echo/v4", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "4.1.18-0.20201215153152-4422e3b66b9f", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "platforms": [ |
| "windows" |
| ], |
| "programRoutines": [ |
| { |
| "name": "common.static" |
| }, |
| { |
| "name": "Echo.Static" |
| }, |
| { |
| "name": "Group.Static" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://github.com/labstack/echo/pull/1718" |
| }, |
| { |
| "url": "https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2021-0051" |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "@little-cui (Apache ServiceComb)" |
| } |
| ] |
| } |
| } |
| } |