Uncontrolled Recursion in Go programming language - CVE-2021-31525

 

Uncontrolled Recursion in Go programming language - CVE-2021-31525

Published: July 15, 2021


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

Vulnerability details

The vulnerability allows a remote attacker to perform a DoS attack.

The vulnerability exists due to uncontrolled recursion when processing HTTP headers. A remote attacker can send a large header to ReadRequest or ReadResponse and perform a denial of service (DoS) attack.


Affected software

Go programming language
IBM Cloud Pak for Multicloud Management
Migration Toolkit for Containers
IBM Edge Application Manager
Red Hat OpenShift Container Platform
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux Server
Fedora
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE Linux Enterprise Module for Development Tools
openshift-serverless-clients (Red Hat package)
golang-github-prometheus-promu (Red Hat package)
containernetworking-plugins (Red Hat package)
cri-tools (Red Hat package)
cri-o (Red Hat package)
openshift-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
openstack-ironic (Red Hat package)
delve
golang
go1.15-race
go1.15-doc
go1.15
golang-bin
go-toolset
golang-race
golang-docs
golang-misc
golang-src
golang-tests
go1.16-doc
go1.16-race
go1.16
ignition (Red Hat package)
etcd (Red Hat package)
openshift-kuryr (Red Hat package)
atomic-openshift-service-idler (Red Hat package)
openshift-ansible (Red Hat package)
openshift (Red Hat package)
heketi (Red Hat package)
Red Hat OpenShift Serverless
Red Hat Container Native Virtualization
OpenShift Virtualization
ObjectScale
IBM Watson Machine Learning Accelerator
IBM Cloud Pak for Watson AIOps
Storage Ceph
Dell PowerProtect Cyber Recovery
QRadar Suite
Splunk Enterprise
IBM Cloud Pak for Multicloud Management Monitoring
IBM Watson Discovery for IBM Cloud Pak for Data
IBM Cloud Automation Manager
IBM Netezza Performance Server
Red Hat OpenStack
Red Hat OpenStack for IBM Power
IBM Robotic Process Automation
Operations Dashboard
Netcool Operations Insight
IBM Cloud Pak System
IBM CICS TX Advanced
IBM CICS TX Standard

How to mitigate CVE-2021-31525

Install update from vendor's website.

Go programming language - addressed in versions 1.15.12, 1.16.4
openshift-serverless-clients (Red Hat package) - update to 0.22.0-3.el8
golang-github-prometheus-promu (Red Hat package) - update to 0.5.0-4.git642a960.el8
containernetworking-plugins (Red Hat package) - update to 0.8.6-3.rhaos4.6.el7
Red Hat OpenShift Serverless - update to 1.16.0
ObjectScale - update to 1.3.0
Migration Toolkit for Containers - update to 1.4.6
QRadar Suite - update to 1.10.17.0
cri-tools (Red Hat package) - update to 1.21.0-3.el8
cri-o (Red Hat package) - addressed in versions 1.21.2-8.rhaos4.8.git8d4264e.el7, 1.21.2-8.rhaos4.8.git8d4264e.el8, 1.21.2-13.rhaos4.8.git52b3f98.el7, 1.21.2-13.rhaos4.8.git52b3f98.el8
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 5
IBM Watson Discovery for IBM Cloud Pak for Data - addressed in versions 2.2.1-patch-4, 4.0.2
IBM Cloud Automation Manager - update to 4.2.0.1 iFix 4
Red Hat OpenShift Container Platform - addressed in versions 4.8.4, 4.8.9
openshift-clients (Red Hat package) - addressed in versions 4.8.0-202107292313.p0.git.1077b05.assembly.stream.el7, 4.8.0-202107292313.p0.git.1077b05.assembly.stream.el8, 4.8.0-202108120034.p0.git.0d10c3f.assembly.stream.el7, 4.8.0-202108120034.p0.git.0d10c3f.assembly.stream.el8
OpenShift Virtualization - addressed in versions 2.6.7, 4.9.0, 4.9.2
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
IBM Netezza Performance Server - update to 11.2.2.3
openstack-ironic (Red Hat package) - update to 17.0.4-0.20210730151213.5b801be.el8
IBM Robotic Process Automation - update to 21.0.3.1
Operations Dashboard - addressed in versions 2020.4.1-3, 2021.3.1
delve - update to 1.5.0-2
Netcool Operations Insight - update to 1.6.6
golang - addressed in versions 1.15.12-1.fc33, 1.15.14-1.el7, 1.16.4-1.fc34
go1.15-race - update to 1.15.12-1.30.1
go1.15-doc - update to 1.15.12-1.30.1
go1.15 - update to 1.15.12-1.30.1
golang-bin - update to 1.15.14-1
go-toolset - update to 1.15.14-1
golang - update to 1.15.14-1
golang-race - update to 1.15.14-1
golang-docs - 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
go1.16-doc - update to 1.16.4-1.14.2
go1.16-race - update to 1.16.4-1.14.2
go1.16 - update to 1.16.4-1.14.2
IBM Watson Machine Learning Accelerator - update to 2.3.9
ignition (Red Hat package) - update to 2.9.0-7.rhaos4.8.el8
etcd (Red Hat package) - update to 3.3.23-3.1.el8ost.1
IBM Cloud Pak for Watson AIOps - update to 4.4.0
openshift-kuryr (Red Hat package) - update to 4.8.0-202107291413.p0.git.8a4c2d8.assembly.stream.el8
atomic-openshift-service-idler (Red Hat package) - update to 4.8.0-202107291413.p0.git.39cfc66.assembly.stream.el8
openshift-ansible (Red Hat package) - update to 4.8.0-202107292023.p0.git.626f7a3.assembly.stream.el7
openshift (Red Hat package) - addressed in versions 4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el7, 4.8.0-202107300027.p0.git.38b3ecc.assembly.stream.el8
Storage Ceph - update to 7.1
heketi (Red Hat package) - update to 10.4.0-2.el7rhgs
IBM CICS TX Advanced - update to 11.1.0.0 ifix5
IBM CICS TX Standard - update to 11.1.0.0 ifix5
Dell PowerProtect Cyber Recovery - update to 19.14.0.1

External References

Related Security Bulletins