cve.bz

CVE-2020-15586 Race Condition

5.9 mediumEPSS 2.9%Fix available

Medium (5.9). EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.13.13, 1.14.5.

On this page
Go before 1.13.13 and 1.14.x before 1.14.5 has a data race in some net/http servers, as demonstrated by the httputil.ReverseProxy Handler, because it reads a request body and writes a response at the same time.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
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-15586 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15586?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15586?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-15586 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.13.13
golang:gofrom 1.14.0 before 1.14.5
cloudfoundry:cf-deploymentbefore 13.7.0
cloudfoundry:routing-releasebefore 0.203.0
debian:debian_linux9.0
debian:debian_linux10.0
opensuse:leap15.1
opensuse:leap15.2
fedoraproject:fedora31
fedoraproject:fedora32

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0224Gostdlib<1.13.13
>=1.14.0-0 <1.14.5
1.13.13, 1.14.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9golang-1.71.7.4-2+deb9u2DLA-2459-1
Debian9golang-1.81.8.1-1+deb9u2DLA-2460-1
Debian10golang-1.111.11.6-1+deb10u4DSA-4848-1
Debian11golang-1.151.15~rc1-1DEBIAN-CVE-2020-15586
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2020-15586
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2020-15586
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2020-15586
Ubuntu20.04:LTSgolang-1.13, golang-1.14no fix listedUBUNTU-CVE-2020-15586
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:22.04:LTSgolang-1.13no fix listedUBUNTU-CVE-2020-15586
Red Hatcontainer_native_virtualization:4.9::el7kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.9.0-287.el7RHSA-2021:4103
Red Hatcontainer_native_virtualization:4.9::el8kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.9.0-287.el8RHSA-2021:4103
Red Hatdevtools:2020go-toolset-1.13, go-toolset-1.13-build, go-toolset-1.13-runtime0:1.13.15-1.el7RHSA-2020:4214
Red Hatdevtools:2020go-toolset-1.13-golang, go-toolset-1.13-golang-bin, go-toolset-1.13-golang-src and 4 more0:1.13.15-3.el7RHSA-2020:4214
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.3.2-3.module+el8.2.0+5581+896cb53eRHSA-2020:3665
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hatopenshift:4.4::el7faq, faq-debuginfo0:0.0.6-5.el7RHBA-2020:5123
Red Hatopenshift:4.4::el7openshift, openshift-hyperkube0:4.4.0-202011130111.p0.git.0.4861dfa.el7RHBA-2020:5123
Red Hatopenshift:4.4::el7openshift-clients, openshift-clients-redistributable0:4.4.0-202011122017.p0.git.3445.6937a03.el7RHBA-2020:5123
Red Hatopenshift:4.4::el8openshift, openshift-hyperkube0:4.4.0-202011130111.p0.git.0.4861dfa.el8RHBA-2020:5123
Red Hatopenshift:4.4::el8openshift-clients, openshift-clients-redistributable0:4.4.0-202011122017.p0.git.3445.6937a03.el8RHBA-2020:5123
Red Hatopenshift:4.5::el7apb, apb-devel, apb-container-scripts0:2.0.3-3.el7RHSA-2021:0713
45 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Development Tools 15 SP1, Linux Enterprise Module for Development Tools 15 SP2go1.141.14.7-1.15.1SUSE-SU-2020:2562-1
openSUSELeap 15.1go1.131.13.14-lp151.5.1openSUSE-SU-2020:1087-1
openSUSELeap 15.1go1.141.14.7-lp151.13.1openSUSE-SU-2020:1405-1
openSUSELeap 15.2go1.131.13.14-lp152.2.4.1openSUSE-SU-2020:1095-1
openSUSELeap 15.2go1.141.14.7-lp152.2.3.1openSUSE-SU-2020:1407-1
openSUSETumbleweedgo1.131.13.15-2.6openSUSE-SU-2024:10806-1
openSUSETumbleweedgo1.141.14.15-1.6openSUSE-SU-2024:10807-1
Alpinev3.11, v3.12go1.13.13-r0ALPINE-CVE-2020-15586
Alpinev3.13, v3.14, v3.15 and 9 morego1.14.5-r0ALPINE-CVE-2020-15586
Azure Linux3golangno fix listedAZL-79042 AZL-98934
Azure Linux3python-tensorboard2.16.2-1AZL-38206

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

OpenShift Container Platform (OCP) components are primarily written in Go, meaning that any component using the net/http package includes the vulnerable code. OCP server endpoints using ReverseProxy are protected by authentication, reducing the severity of this vulnerability to Low for OCP.

Similar to OCP, OpenShift ServiceMesh (OSSM), RedHat OpenShift Jaeger (RHOSJ) and OpenShift Virtualization are also primarily written in Go and are protected via authentication, reducing the severity of this vulnerability to Low.

Red Hat Gluster Storage 3 and Red Hat Openshift Container Storage 4 components are built with the affected version of Go, however the vulnerable functionality is currently not used by these products and hence this issue has been rated as having a security impact of Low.

Red Hat Ceph Storage 3 and 4 components are built with the affected version of Go, however the vulnerable functionality is currently not used by these products and hence this issue has been rated as having a security impact of Low.

ProductPackageStateAdvisory
OpenShift Logging 5.0openshift-logging/eventrouter-rhel8:v5.0.3-1Fixed 2021-05-06RHSA-2021:1515
OpenShift Serverless 1.9.0serving-activatorFixed 2021-01-11RHSA-2021:0072
OpenShift Serverless 1.9.0serving-networking-istioFixed 2021-01-11RHSA-2021:0072
OpenShift Service Mesh 1.0openshift-service-mesh/3scale-istio-adapter-rhel8:1.0.0-9Fixed 2020-09-30RHBA-2020:4139
OpenShift Service Mesh 1.1ior-0:1.1.11-2.el8Fixed 2020-12-22RHSA-2020:5649
OpenShift Service Mesh 1.1servicemesh-0:1.1.11-2.el8Fixed 2020-12-22RHSA-2020:5649
OpenShift Service Mesh 1.1servicemesh-cni-0:1.1.11-2.el8Fixed 2020-12-22RHSA-2020:5649
OpenShift Service Mesh 1.1servicemesh-grafana-0:6.4.3-19.el8Fixed 2020-12-22RHSA-2020:5649
OpenShift Service Mesh 1.1servicemesh-operator-0:1.1.11-3.el8Fixed 2020-12-22RHSA-2020:5649
OpenShift Service Mesh 1.1servicemesh-prometheus-0:2.14.0-20.el8Fixed 2020-12-22RHSA-2020:5649
OpenShift Service Mesh 1jaegerOut of support scope
OpenShift Service Mesh 1jaeger-operatorOut of support scope
OpenShift Service Mesh 1kialiAffected
Red Hat Ceph Storage 2golangOut of support scope
Red Hat Ceph Storage 3golangFix deferred
Red Hat Ceph Storage 3golang-github-prometheus-node_exporterFix deferred
Red Hat Ceph Storage 3grafanaFix deferred
Red Hat Ceph Storage 3grafana-containerFix deferred
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Fix deferred
Red Hat Enterprise Linux 7golangOut of support scope
217 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-15586.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

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

References

Check your stackJSON