Description
encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | golang-1.15 | 1.15.9-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-1.13 +1 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-1.8 +2 | No fix yet | — |
| Ubuntu 16.04 LTS | golang-1.6 +1 | No fix yet | — |
| Ubuntu 14.04 LTS | golang-1.10 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | golang-1.13 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | golang-1.13 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | golang-1.13 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | delve | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2021:3076 |
| RHEL 8 | golang +7 | 1.15.14-1.module+el8.4.0+11833+614b07b8 | RHSA-2021:3076 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Serverless 1 | openshift-serverless-clients | 0.22.0-3.el8 | RHSA-2021:3555, RHSA-2021:2704 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | delve | 1.5.0-2.module+el8.4.0+396+d2d16ae3 | RLSA-2021:3076 |
| Rocky Linux 8 | golang +1 | 1.15.14-1.module+el8.4.0+632+4dba2916 | RLSA-2021:3076 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SLES 15 SP2 | go1.16 | 1.16.2-1.8.1 | SUSE-SU-2021:0937-1 |
| SLES 15 SP1 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SLE HPC 15 SP1 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SUSE Manager Server 4.0 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SUSE Manager Retail Branch Server 4.0 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SUSE Manager Proxy 4.0 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SUSE Enterprise Storage 6 | go1.15 | 1.15.10-1.25.1 | SUSE-SU-2021:0938-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | go1.15 | 1.15.15-1.2 | openSUSE-SU-2024:10808-1 |
| openSUSE Tumbleweed | go1.16 | 1.16.8-1.1 | openSUSE-SU-2024:10809-1 |
| openSUSE Leap 15.2 | go1.15 | 1.15.10-lp152.14.1 | openSUSE-SU-2021:0480-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | go | 1.16.2-r0 | — |
| Alpine v3.23 | go | 1.16.2-r0 | — |
| Alpine v3.22 | go | 1.16.2-r0 | — |
| Alpine v3.21 | go | 1.16.2-r0 | — |
| Alpine v3.20 | go | 1.16.2-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | go | 1.16.2-r0 | — |
| Alpine v3.18 | go | 1.16.2-r0 | — |
| Alpine v3.17 | go | 1.16.2-r0 | — |
| Alpine v3.16 | go | 1.16.2-r0 | — |
| Alpine v3.15 | go | 1.16.2-r0 | — |
| Alpine v3.14 | go | 1.16.2-r0 | — |
| Alpine v3.13 | go | 1.15.10-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | golang +7 | 1.16.15-1.amzn2.0.1 | ALAS2-2022-1776 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | golang | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | conmon | 3:2.0.21-4.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | coredns | 1.7.0-1.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | cri-o | 1.18.4-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | cri-tools | 1.18.0-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | delve | 1.5.0-2.0.1.module+el8.4.0+20021+8a86d991 | ELSA-2021-3076 |
| Oracle Linux 8 | etcd | 3.4.3-1.0.5.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | flannel | 0.12.0-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | golang +7 | 1.15.14-1.module+el8.4.0+20290+7af514f4 | ELSA-2021-3076 |
| Oracle Linux 8 | helm | 3.3.4-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | istio +5 | 1.7.3-1.0.2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | kata | 1.11.5-4.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | kata-image | 1.11.5-2.2.ol8_202104281558 | ELSA-2021-9267 |
| Oracle Linux 8 | kata-shim +4 | 1.11.5-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | kubeadm +2 | 1.18.18-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | kubernetes-cni | 0.8.0-3.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | kubernetes-cni-plugins | 0.8.7-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | kubernetes-dashboard | 2.0.3-2.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | olcnectl +6 | 1.2.3-9.el8 | ELSA-2021-9267 |
| Oracle Linux 8 | yq | 3.4.0-2.el8 | ELSA-2021-9267 |
| Oracle Linux 7 | conmon | 3:2.0.21-4.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | coredns | 1.7.0-1.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | cri-o | 1.18.4-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | cri-tools | 1.18.0-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | etcd | 3.4.3-1.0.5.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | flannel | 0.12.0-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | helm | 3.3.4-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | istio +1 | 1.7.3-1.0.2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | kata | 1.11.5-4.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | kata-image | 1.11.5-2.2.ol7_202104281557 | ELSA-2021-9268 |
| Oracle Linux 7 | kata-shim +4 | 1.11.5-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | kubeadm +2 | 1.18.18-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | kubernetes-cni | 0.8.0-3.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | kubernetes-cni-plugins | 0.8.7-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | kubernetes-dashboard | 2.0.3-2.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | olcnectl +6 | 1.2.3-9.el7 | ELSA-2021-9268 |
| Oracle Linux 7 | yq | 3.4.0-2.el7 | ELSA-2021-9268 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | stdlib | < 1.15.9 · >= 1.16.0-0, < 1.16.1 | 1.15.9, 1.16.1 | GO-2021-0234 |
Advisories 16
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- RHSA-2021:3555 Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.17.0 Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3076 Red Hat Security Advisory: go-toolset:rhel8 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2021:2704 Red Hat Security Advisory: Release of OpenShift Serverless Client kn 1.16.0 Red Hat Security Advisories (RHSA) · Jun 29, 2026
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- RLSA-2021:3076 Moderate: go-toolset:rhel8 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2021:0938-1 Security update for go1.15 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:0937-1 Security update for go1.16 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10809-1 go1.16-1.16.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0480-1 Security update for go1.15 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10808-1 go1.15-1.15.15-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ALAS2-2022-1776 Important: golang security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 7, 2025
- ELSA-2021-3076 Moderate: go-toolset:ol8 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 12, 2021
- ELSA-2021-9268 Important: olcne security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 29, 2021
- ELSA-2021-9267 Important: olcne security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 29, 2021