| { |
| "schema_version": "1.3.1", |
| "id": "GO-2020-0032", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2021-04-14T20:04:52Z", |
| "aliases": [ |
| "CVE-2019-25073", |
| "GHSA-fjgq-224f-fq37" |
| ], |
| "summary": "Path traversal in github.com/goadesign/goa", |
| "details": "Due to improper sanitization of user input, Controller.FileHandler 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/goadesign/goa", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.4.3" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/goadesign/goa", |
| "symbols": [ |
| "Controller.FileHandler", |
| "Service.ListenAndServe", |
| "Service.ListenAndServeTLS", |
| "Service.Serve", |
| "mux.ServeHTTP" |
| ] |
| } |
| ] |
| } |
| }, |
| { |
| "package": { |
| "name": "goa.design/goa", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.4.3" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "goa.design/goa", |
| "symbols": [ |
| "Controller.FileHandler" |
| ] |
| } |
| ] |
| } |
| }, |
| { |
| "package": { |
| "name": "goa.design/goa/v3", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "3.0.9" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "goa.design/goa/v3", |
| "symbols": [ |
| "Controller.FileHandler" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/goadesign/goa/pull/2388" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/goadesign/goa/commit/70b5a199d0f813d74423993832c424e1fc73fb39" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "@christi3k" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2020-0032" |
| } |
| } |