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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-gin-gonic-gin | 1.6.3-1 | DEBIAN-CVE-2020-36567 |
| Debian:13 | golang-github-gin-gonic-gin | 1.6.3-1 | DEBIAN-CVE-2020-36567 |
| Debian:14 | golang-github-gin-gonic-gin | 1.6.3-1 | DEBIAN-CVE-2020-36567 |
| Go | github.com/gin-gonic/gin | 1.6.0 | GHSA-6vm3-jj99-7229 |
| Go | github.com/gin-gonic/gin | 1.6.0 | GO-2020-0001 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| github.com/gin-gonic/gin | github.com/gin-gonic/gin | 0 – before 1.6.0 |