title: Arbitrary log line injection in github.com/gin-gonic/gin
description: Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.
problem types: CWE-117 Improper Output Neutralization for Logs
affected:
{
vendor: github.com/gin-gonic/gin
product: github.com/gin-gonic/gin
collectionURL: https://pkg.go.dev
packageName: github.com/gin-gonic/gin
versions:
version: 0, lessThan: 1.6.0, status: affected, versionType: semver
programRoutines:
name: LoggerWithConfig
name: Default
name: Logger
name: LoggerWithFormatter
name: LoggerWithWriter
defaultStatus: unaffected
}