cve.bz

CVE-2020-24553 Cross-site Scripting

6.1 mediumExploit referenceEPSS 3.6%Fix available

Medium (6.1). EPSS 3.6% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.14.8, 1.15.1.

On this page
Go before 1.14.8 and 1.15.x before 1.15.1 allows XSS because text/html is the default for CGI/FCGI handlers that lack a Content-Type header.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
3.6% (unchanged from 3.6% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
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-24553 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-24553?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-24553?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-24553 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 NVD's CPE matches.

ProductAffected
golang:gobefore 1.14.8
golang:gofrom 1.15.0 before 1.15.1
fedoraproject:fedora33
opensuse:leap15.1
opensuse:leap15.2
oracle:communications_cloud_native_core_policy1.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0226Gostdlib<1.14.8
>=1.15.0-0 <1.15.1
1.14.8, 1.15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11golang-1.151.15.2-1DEBIAN-CVE-2020-24553
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2020-24553
Ubuntu16.04:LTSgolang-1.101.10.4-2ubuntu1~16.04.2UBUNTU-CVE-2020-24553 USN-4758-1
Ubuntu16.04:LTSgolang-1.6no fix listedUBUNTU-CVE-2020-24553
Ubuntu18.04:LTSgolang-1.101.10.4-2ubuntu1~18.04.2UBUNTU-CVE-2020-24553 USN-4758-1
Ubuntu18.04:LTSgolang-1.8, golang-1.9no fix listedUBUNTU-CVE-2020-24553
Ubuntu20.04:LTSgolang-1.141.14.3-2ubuntu2~20.04.2UBUNTU-CVE-2020-24553 USN-4758-1
Ubuntu20.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moregolang-1.13no fix listedUBUNTU-CVE-2020-24553
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.4.1-1.module+el8.3.0+7840+63dfb1edRHSA-2020:5493
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.14.12-1.module+el8.3.0+8784+380394dcRHSA-2020:5493
Red Hatserverless:1.0::el8openshift-serverless-clients0:0.18.4-2.el8RHSA-2021:0145
SUSELinux Enterprise Module for Development Tools 15 SP1, Linux Enterprise Module for Development Tools 15 SP2go1.141.14.9-1.18.1SUSE-SU-2020:2761-1
SUSELinux Enterprise Module for Development Tools 15 SP1, Linux Enterprise Module for Development Tools 15 SP2go1.151.15.2-1.3.1SUSE-SU-2020:2776-1
openSUSELeap 15.1go1.141.14.9-lp151.16.1openSUSE-SU-2020:1584-1
openSUSELeap 15.2go1.141.14.9-lp152.2.6.1openSUSE-SU-2020:1587-1
openSUSETumbleweedgo1.141.14.15-1.6openSUSE-SU-2024:10807-1
openSUSETumbleweedgo1.151.15.15-1.2openSUSE-SU-2024:10808-1
Alpinev3.13, v3.14, v3.15 and 9 morego1.15.2-r0ALPINE-CVE-2020-24553
Azure Linux3golangno fix listedAZL-79064 AZL-98880

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Multiple components in the Red Hat OpenShift Container Platform are built with Go and use net/http, however, none include the specific vulnerable packages net/http/cgi and net/http/fcgi. Red Hat OpenShift Container Platform is not affected by this flaw.

ProductPackageStateAdvisory
Openshift Serveless 1.12openshift-serverless-1/client-kn-rhel8:0.18.4-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-controller-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-mtbroker-filter-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-mtbroker-ingress-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-mtchannel-broker-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-mtping-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Openshift Serveless 1.12openshift-serverless-1/eventing-storage-version-migration-rhel8:0.18.6-2Fixed 2021-01-14RHSA-2021:0146
Distributed Tracing Jaeger 1distributed-tracing/jaeger-all-in-one-rhel7Not affected
OpenShift ServerlesscliAffected
OpenShift Service Mesh 1iorNot affected
OpenShift Service Mesh 1kialiNot affected
OpenShift Service Mesh 1openshift-service-mesh/3scale-istio-adapter-rhel8Not affected
OpenShift Service Mesh 1servicemeshNot affected
OpenShift Service Mesh 1servicemesh-cniNot affected
OpenShift Service Mesh 1servicemesh-grafanaNot affected
OpenShift Service Mesh 1servicemesh-operatorNot affected
OpenShift Service Mesh 1servicemesh-prometheusNot affected
153 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-24553.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

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

References

Check your stackJSON