Infinite loop in Go programming language - CVE-2021-27918

 

Infinite loop in Go programming language - CVE-2021-27918

Published: March 15, 2021


Vulnerability identifier: #VU51486
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-27918
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop when using xml.NewTokenDecoder with a custom TokenReader. A remote attacker can trick a victim to open a specially crafted XML content and cause denial of service conditions.


Affected software

Go programming language
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Fedora
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Anolis OS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Development Tools
openEuler
openshift-serverless-clients (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
delve
golang-help
golang
golang-devel
go1.15
go1.15-doc
go1.15-race
golang-race
golang-docs
golang-bin
go-toolset
golang-misc
golang-src
golang-tests
go1.16-race
go1.16-doc
go1.16
ObjectScale
IBM Watson Machine Learning Accelerator
Dell PowerProtect Cyber Recovery
Red Hat OpenShift Serverless
QRadar Suite
Splunk Enterprise
IBM Edge Application Manager
IBM Netezza Performance Server
IBM Robotic Process Automation
Netcool Operations Insight
IBM CICS TX Standard
IBM CICS TX Advanced

How to mitigate CVE-2021-27918

Install updates from vendor's website.

Go programming language - addressed in versions 1.15.9, 1.16.1
openshift-serverless-clients (Red Hat package) - update to 0.22.0-3.el8
ObjectScale - update to 1.3.0
Red Hat OpenShift Serverless - update to 1.16.0
QRadar Suite - update to 1.10.17.0
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
IBM Netezza Performance Server - update to 11.2.2.3
IBM Robotic Process Automation - update to 21.0.3.1
delve - update to 1.5.0-2
Netcool Operations Insight - update to 1.6.6
golang-help - update to 1.15.7-3
golang - update to 1.15.7-3
golang-devel - update to 1.15.7-3
go1.15 - update to 1.15.10-1.25.1
go1.15-doc - update to 1.15.10-1.25.1
go1.15-race - update to 1.15.10-1.25.1
golang-race - update to 1.15.14-1
golang-docs - update to 1.15.14-1
golang-bin - update to 1.15.14-1
golang - update to 1.15.14-1
go-toolset - update to 1.15.14-1
golang-misc - update to 1.15.14-1
golang-src - update to 1.15.14-1
golang-tests - update to 1.15.14-1
golang - update to 1.15.14-1.el7
go1.16-race - update to 1.16.2-1.8.1
go1.16-doc - update to 1.16.2-1.8.1
go1.16 - update to 1.16.2-1.8.1
IBM Watson Machine Learning Accelerator - update to 2.3.9
IBM CICS TX Standard - update to 11.1.0.0 ifix5
IBM CICS TX Advanced - update to 11.1.0.0 ifix5
Dell PowerProtect Cyber Recovery - update to 19.14.0.1

External References

Related Security Bulletins