CVE-2020-36567Gin-gonic Gin
High 7.5 No auth needed
Follow: this CVE · Gin-gonic · Gin-gonic Gin We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Gin.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| gin-gonic | gin | < 1.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- pkg.go.dev Patch Vendor Advisory