blob: 50a9130f32ff7b06bd6bf51b0cdf102bf135f653 [file] [log] [blame]
{
"id": "GO-2020-0039",
"published": "2021-04-14T20:04:52Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2020-12666",
"GHSA-733f-44f3-3frw"
],
"details": "Due to improper request santization, a specifically crafted URL\ncan cause the static file handler to redirect to an attacker chosen\nURL, allowing for open redirect attacks.\n",
"affected": [
{
"package": {
"name": "gopkg.in/macaron.v1",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.7"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0039"
},
"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"
}
]
}