GO-2020-0001
Dashboard / Vulnerabilities / GO-2020-0001
GO-2020-0001
Published: 14 Apr 2021Last Modified: 20 May 2024
Aliases:
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.
References: https://github.com/gin-gonic/gin/pull/2237, https://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d
Affected packages
Package
Name: github.com/gin-gonic/gin
Purl: pkg:golang/github.com/gin-gonic/gin
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.6.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
