GitHub Advisoryadvisory · Go

GHSA-6vm3-jj99-7229 Gin's default logger allows unsanitized input that can allow remote attackers to inject arbitrary log lines

HIGH Published 2022-12-27 Modified 2023-01-10 Official page ↗
Aliases
CVE-2020-36567
Ecosystem
Go
Packages
github.com/gin-gonic/gin
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-116, CWE-117
Reviewed
2022-12-30

Affected packages

• Go github.com/gin-gonic/gin: < 1.6.0 → fixed in 1.6.0

Description

Gin is a HTTP web framework written in Go (Golang). Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.

Related

Alias · CVE (1)

  • CVE-2020-36567 Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines. vulnerability

Weakness · CWE (2)

  • CWE-116 Improper Encoding or Escaping of Output weakness
  • CWE-117 Improper Output Neutralization for Logs weakness

References