Skip to content
Fencer Vulns
high 7.5

CVE-2020-36567 json

Arbitrary log line injection in github.com/gin-gonic/gin

published 2021-04-14 5 y ago modified 2026-06-17 4 mo ago also GHSA-6vm3-jj99-7229 , GO-2020-0001 , EUVD-2022-7542

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

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

Patch / fix

  • go github.com/gin-gonic/gin 1.6.0
  • github.com/gin-gonic/gin github.com/gin-gonic/gin 1.6.0
  • golang-github-gin-gonic-gin Debian 14, Debian 13, Debian 12 1.6.3-1

debian advisories DEBIAN-CVE-2020-36567

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-36567 updated cvss 7.5

gin: Unsanitized input in the default logger in github.com/gin-gonic/gin

  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-controller-rhel9, migration-toolkit-virtualization/mtv-must-gather-api-rhel8
    affected: no fix available
  • Red Hat OpenShift Serverless openshift-gitops-1/gitops-rhel8-operator, openshift-serverless-1/kn-client-kn-rhel9 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/thanos-rhel7, rhacm2/acm-grafana-rhel8, rhacm2/rbac-query-proxy-rhel8, rhacm2/thanos-receive-controller-rhel8
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 openshift4/ose-image-customization-controller-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8, rhai-tech-preview/assisted-installer-agent-rhel8
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Dev Spaces devspaces/machineexec-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8
    affected: no fix available
  • Red Hat Quay 3 quay/quay-rhel8, quay/quay-operator-rhel8
    affected: no fix planned “Will not fix”
  • Red Hat Web Terminal web-terminal-exec-container
    affected: no fix available
  • Red Hat MTA 6.0 for RHEL 8 mta/mta-hub-rhel8 6.0.1-8, mta/mta-admin-addon-rhel8 6.0.1-8, mta/mta-windup-addon-rhel8 6.0.1-9
    fixed: vendor fix RHSA-2023:0934
show 2 more
  • Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-controller-rhel8 v1.7.8-6
    fixed: vendor fix RHSA-2023:1428
  • Red Hat Custom Metric Autoscaler operator for Red Hat Openshift custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9, openshift-logging/lokistack-gateway-rhel8 Red Hat MTA 6.0 for RHEL 8 mta/mta-ui-rhel8 6.0.1-10, mta/mta-pathfinder-rhel8 6.0.1-6 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-prometheus-rhel8, rhacm2/multiclusterhub-rhel8, rhacm2/lighthouse-agent-rhel9, acm-multicluster-globalhub-agent-container Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-main-rhel8, advanced-cluster-security/rhacs-scanner-rhel8 Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.8-5, rhmtc/openshift-velero-plugin-rhel8 v1.7.8-3, rhmtc/openshift-migration-velero-rhel8 v1.7.8-4, rhmtc/openshift-migration-openvpn-rhel8 v1.7.8-3, rhmtc/openshift-migration-registry-rhel8 v1.7.8-3, rhmtc/openshift-migration-rhel8-operator v1.7.8-10, +10 more
    +1 more products
    Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-grafana, openshift4/ose-installer, openshift4/ose-thanos-rhel9, openshift4/ose-coredns-rhel9, openshift4/ose-docker-builder, +8 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/gin-gonic/gin/pull/2237 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/gin-gonic/gin
<1.6.0
1.6.0

Affected products

  • github.com/gin-gonic/gin github.com/gin-gonic/gin

Classification

Weakness
  • CWE-116 Improper Encoding or Escaping of Output
  • CWE-117 Improper Output Neutralization for Logs

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.