| { |
| "schema_version": "1.3.1", |
| "id": "GO-2020-0039", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2021-04-14T20:04:52Z", |
| "aliases": [ |
| "CVE-2020-12666", |
| "GHSA-733f-44f3-3frw" |
| ], |
| "summary": "Open redirect in gopkg.in/macaron.v1", |
| "details": "Due to improper request sanitization, a specifically crafted URL can cause the static file handler to redirect to an attacker chosen URL, allowing for open redirect attacks.", |
| "affected": [ |
| { |
| "package": { |
| "name": "gopkg.in/macaron.v1", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.3.7" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "gopkg.in/macaron.v1", |
| "symbols": [ |
| "Context.Next", |
| "LoggerInvoker.Invoke", |
| "Macaron.Run", |
| "Macaron.ServeHTTP", |
| "Router.ServeHTTP", |
| "staticHandler" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/go-macaron/macaron/pull/199" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/go-macaron/macaron/commit/addc7461c3a90a040e79aa75bfd245107a210245" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/go-macaron/macaron/issues/198" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "@ev0A" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2020-0039" |
| } |
| } |