blob: 93587d0959e434bbed1f510cd23d6b7ffdeb3660 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2020-0001",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-04-14T20:04:52Z",
"aliases": [
"CVE-2020-36567",
"GHSA-6vm3-jj99-7229"
],
"summary": "Arbitrary log line injection in github.com/gin-gonic/gin",
"details": "The default Formatter for the Logger middleware (LoggerConfig.Formatter), which is included in the Default engine, allows attackers to inject arbitrary log entries by manipulating the request path.",
"affected": [
{
"package": {
"name": "github.com/gin-gonic/gin",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/gin-gonic/gin",
"symbols": [
"Default",
"Logger",
"LoggerWithConfig",
"LoggerWithFormatter",
"LoggerWithWriter"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/gin-gonic/gin/pull/2237"
},
{
"type": "FIX",
"url": "https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d"
}
],
"credits": [
{
"name": "@thinkerou \u003cthinkerou@gmail.com\u003e"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0001"
}
}