Skip to main content
Public proof of conceptFix available

CVE-2020-36567

A public proof of concept exists; no exploitation attested.

  • Published2022-12-27
  • Fixed in1.6.0
  • WeaknessCWE-116

Am I 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
  1. 2022-12-2721:15CVE publishedNVD

Versions per branch

NVD · OSV
Gin-gonic gin
BranchAffectedFixed in
1.6< 1.6.01.6.0

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 affected

    https://pkg.go.dev

    Affected
    • < 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

  • CVE-2020-36567 Red Hat Product Security4 products fixed · 16 known affected

    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

  • RHSA-2023:1428 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.8 security and bug fix update

  • RHSA-2023:0934 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Migration Toolkit for Applications security and bug fix update

Full record on NVD

Fix

  1. Update Gin-gonic gin to 1.6.0
  2. 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
  3. 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
  4. No fix available, says the vendor Red Hat Product Security CVE-2020-36567 · 7 productsAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2020-36567 · 2 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2020-36567 · 7 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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

Is CVE-2020-36567 actively exploited?

A proof-of-concept exploit exists for CVE-2020-36567, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2020-36567?

CVE-2020-36567 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

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

Sources for this record