Vulnerability · Published Dec 27, 2022 · Assigned by Go

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

High 7.5

In plain English

A high-severity security flaw in github.com/gin-gonic/gin from github.com/gin-gonic/gin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.5%top 24.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-gin-gonic-gin1.6.3-1DEBIAN-CVE-2020-36567
Debian:13golang-github-gin-gonic-gin1.6.3-1DEBIAN-CVE-2020-36567
Debian:14golang-github-gin-gonic-gin1.6.3-1DEBIAN-CVE-2020-36567
Gogithub.com/gin-gonic/gin1.6.0GHSA-6vm3-jj99-7229
Gogithub.com/gin-gonic/gin1.6.0GO-2020-0001

Affected products (as reported)

VendorProductVersions
github.com/gin-gonic/gin github.com/gin-gonic/gin 0 – before 1.6.0

References