CVE-2020-36567
A public proof of concept exists; no exploitation attested.
- Published2022-12-27
- Fixed in1.6.0
- WeaknessCWE-116
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-12-2721:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.6 | < 1.6.0 | 1.6.0 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As Go, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- github.com/gin-gonic/ginother versions: not affectedAffected
- < 1.6.0fixed in 1.6.0semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-06-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- golang-github-gin-gonic-ginUbuntu:20.04:LTSall versions · no fixed version listed
- golang-github-gin-gonic-ginUbuntu:18.04:LTSall versions · no fixed version listed
- golang-github-gin-gonic-ginDebian:14all versions · fixed in 1.6.3-1
- golang-github-gin-gonic-ginDebian:13all versions · fixed in 1.6.3-1
- golang-github-gin-gonic-ginDebian:12all versions · fixed in 1.6.3-1
Vendor advisories
gin: Unsanitized input in the default logger in github.com/gin-gonic/gin
migration-toolkit-virtualization/mtv-controller-rhel9 as a component of Migration Toolkit for Virtualization · migration-toolkit-virtualization/mtv-must-gather-api-rhel8 as a component of Migration Toolkit for Virtualization · openshift-serverless-1/client-kn-rhel8 as a component of OpenShift Serverless · +13 more
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.8 security and bug fix update
Red Hat Security Advisory: Migration Toolkit for Applications security and bug fix update
Fix
- Update Gin-gonic gin to 1.6.0
- Vendor fix Red Hat Product Security RHSA-2023:1428 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:0934 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2020-36567 · 7 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2020-36567 · 2 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2020-36567 · 7 productsWill not fix
Advisories and patches
- github.comPatch
- github.comPatch
- pkg.go.devPatch · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-11
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-11
- CISA-ADPCVSS 3.17.52025-04-11
- NVDCVSS 3.17.5read 2026-10-23
- NVDweakness (CWE)CWE-116read 2026-10-23
- FIRST EPSSEPSS score1.5 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2022-12-30
Identifiers
- EUVD-2022-7542same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6vm3-jj99-7229same flawGitHub Advisory Database · CC-BY-4.0
- GO-2020-0001same flawGo Vulnerability Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Published
- 2022-12-27
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-6vm3-jj99-7229
Frequently asked questions
What is CVE-2020-36567?
Is CVE-2020-36567 actively exploited?
What is the CVSS score for CVE-2020-36567?
Running gin-gonic/gin? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6vm3-jj99-7229
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0