Live threats

All CVEs / Gin-gonic

CVE-2020-36567Gin-gonic Gin

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Dec 27, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Gin.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gin-gonic/gin < 1.6.0 1.6.0 go get github.com/gin-gonic/gin@v1.6.0
Go github.com/gin-gonic/gin < 1.6.0 1.6.0 go get github.com/gin-gonic/gin@v1.6.0

Per OSV / GitHub Advisories (GHSA-6vm3-jj99-7229, GO-2020-0001). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gin-gonicgin< 1.6.0

Official sources

References

Links published by the sources. Open them with care.