Go Vulnerability Database
GO-2020-0001
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/gin-gonic/gin | All versions before 1.6.0 (fixed in 1.6.0) |