cve.bz

CVE-2020-36567 gin-gonic gin: Improper Encoding or Escaping of Output

7.5 highExploit referenceEPSS 1.5%Fix available

High (7.5) in gin-gonic gin. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/gin-gonic/gin 1.6.0.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-116 Improper Encoding or Escaping of Output
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-36567 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-36567?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-36567?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-36567 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
github.com/gin-gonic/ginbefore 1.6.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6vm3-jj99-7229Gogithub.com/gin-gonic/gin<1.6.01.6.0
GO-2020-0001Gogithub.com/gin-gonic/gin<1.6.01.6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-gin-gonic-gin1.6.3-1DEBIAN-CVE-2020-36567
Ubuntu18.04:LTS, 20.04:LTSgolang-github-gin-gonic-ginno fix listedUBUNTU-CVE-2020-36567

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
MTA-6.0-RHEL-8mta/mta-admin-addon-rhel8:6.0.1-8Fixed 2023-02-28RHSA-2023:0934
MTA-6.0-RHEL-8mta/mta-hub-rhel8:6.0.1-8Fixed 2023-02-28RHSA-2023:0934
MTA-6.0-RHEL-8mta/mta-windup-addon-rhel8:6.0.1-9Fixed 2023-02-28RHSA-2023:0934
Red Hat Migration Toolkit for Containers 1.7rhmtc/openshift-migration-controller-rhel8:v1.7.8-6Fixed 2023-03-23RHSA-2023:1428
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel8Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-controller-rhel9Affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-api-rhel8Affected
OpenShift Serverlessopenshift-serverless-1/client-kn-rhel8Affected
OpenShift Serverlessopenshift-serverless-1/ingress-rhel8-operatorWill not fix
Red Hat Advanced Cluster Management for Kubernetes 2acm-multicluster-globalhub-agent-containerNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-prometheus-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/lighthouse-agent-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multiclusterhub-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/rbac-query-proxy-rhel8Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/thanos-receive-controller-rhel8Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/thanos-rhel9Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Not affected
23 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-36567.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON