{"id":"GO-2020-0001","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.","aliases":["CVE-2020-36567","GHSA-6vm3-jj99-7229"],"modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2020-0001","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://github.com/gin-gonic/gin/pull/2237"},{"type":"FIX","url":"https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d"}],"affected":[{"package":{"name":"github.com/gin-gonic/gin","ecosystem":"Go","purl":"pkg:golang/github.com/gin-gonic/gin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}],"ecosystem_specific":{"imports":[{"symbols":["Default","Logger","LoggerWithConfig","LoggerWithFormatter","LoggerWithWriter"],"path":"github.com/gin-gonic/gin"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0001.json"}}],"schema_version":"1.7.3","credits":[{"name":"@thinkerou \u003cthinkerou@gmail.com\u003e"}]}