CVE-2020-36567
JSON

7.5high

Arbitrary log line injection in github.com/gin-gonic/gin

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.54% (higher than 75% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GHSA-6vm3-jj99-7229GO-2020-0001

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.

Affected

Product or packageVersionsReported by
github.com/gin-gonic/ginbefore 1.6.0CVE List
github.com/gin-gonic/gin (Go)before 1.6.0GitHub Advisory Database, Go Vulnerability Database
gin-gonic ginbefore 1.6.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-116CWE-117

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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

GitHub Advisory Database

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.

Go Vulnerability Database

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.

NVD (es)

La entrada no sanitizada en el registrador predeterminado en github.com/gin-gonic/gin anterior a v1.6.0 permite a atacantes remotos inyectar líneas de registro arbitrarias.

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36567 changed 2025-04-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-6vm3-jj99-7229 changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2020-0001 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-36567 changed 2026-06-17Public domain