blob: 117eb7a58a2d928779ca67203c141c9c0df32b62 [file] [log] [blame]
{
"id": "GO-2020-0001",
"published": "2021-04-14T20:04:52Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2020-36567",
"GHSA-6vm3-jj99-7229"
],
"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"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0001"
},
"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"
}
],
"schema_version": "1.3.1"
}