Resource management error in Go programming language - CVE-2022-2879

 

Resource management error in Go programming language - CVE-2022-2879

Published: October 18, 2022


Vulnerability identifier: #VU68387
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-2879
CWE-ID: CWE-399
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 absent limits on the maximum size of file headers within the Reader.Read method in archive/tar. A remote attacker can pass a specially crafted file to the application and perform a denial of service (DoS) attack.


Affected software

Go programming language
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
Fedora
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Anolis OS
Oracle Solaris
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Development Tools
SUSE Linux Enterprise Server 15 SP3 LTSS
Development Tools Module
openSUSE Leap
Ubuntu
openEuler
Custom Metrics Autoscaler Operator for Red Hat OpenShift
Ansible Automation Platform
IBM Watson Assistant for IBM Cloud Pak for Data
OpenShift Logging
Red Hat Migration Toolkit for Applications
Red Hat OpenStack
Red Hat Application Interconnect
WebSphere Automation
Netcool Operations Insight
IBM MQ Operator
IBM Cloud Pak for Multicloud Management Monitoring
IBM Decision Optimization for Cloud Pak for Data
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
IBM Watson Discovery for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
IBM Spectrum Protect Plus
Automation Assets in IBM Cloud Pak for Integration (CP4I)
Operations Dashboard
Astronomer with IBM
containerd
watsonx Orchestrate Cartridge for IBM Cloud Pak for Data
Storage Fusion Data Foundation
ObjectScale
Dell EMC Streaming Data Platform
IBM Cloud Pak for Watson AIOps
Storage Ceph
IBM supplied MQ Advanced container images
IBM Netezza for Cloud Pak for Data
Dell PowerProtect Cyber Recovery
Robotic Process Automation for Cloud Pak
Platform Navigator in IBM Cloud Pak for Integration (CP4I)
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
IBM Edge Application Manager
Red Hat OpenShift Container Platform
OpenShift Serverless Client
QRadar Suite
Juniper Secure Analytics (JSA)
Splunk Enterprise
OpenShift Service Mesh
moby
Red Hat OpenShift Serverless
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Virtualization
IBM Cloud Pak System
IBM Qradar SIEM
golang-1.13 (Ubuntu package)
golang-1.13-go (Ubuntu package)
golang-1.13-src (Ubuntu package)
golang-1.16 (Ubuntu package)
golang-1.16-src (Ubuntu package)
golang-1.16-go (Ubuntu package)
toolbox-tests
toolbox
toolbox (Red Hat package)
udica
golist
qpid-proton (Red Hat package)
containernetworking-plugins (Red Hat package)
runc (Red Hat package)
slirp4netns (Red Hat package)
runc
slirp4netns
oci-seccomp-bpf-hook
containernetworking-plugins
skupper-cli (Red Hat package)
crun (Red Hat package)
openshift-serverless-clients (Red Hat package)
fuse-overlayfs (Red Hat package)
skopeo (Red Hat package)
jsoncpp (Red Hat package)
aardvark-dns
netavark
fuse-overlayfs
crun
skopeo-tests
skopeo
golang-devel
golang
golang-help
golang-1.18-go (Ubuntu package)
golang-1.18-src (Ubuntu package)
golang-1.18 (Ubuntu package)
go1.18
go1.18-doc
go1.18-race
go-toolset-1.18 (Red Hat package)
go-toolset-1.18-golang (Red Hat package)
go-toolset (Red Hat package)
golang (Red Hat package)
go1.18-openssl-doc
go1.18-openssl-race
go1.18-openssl
go1.19-race
go1.19
go1.19-doc
dev-lang/go
buildah (Red Hat package)
cri-o (Red Hat package)
containers-common (Red Hat package)
buildah
buildah-tests
containers-common
conmon (Red Hat package)
conmon
haproxy (Red Hat package)
skupper-router (Red Hat package)
container-selinux (Red Hat package)
container-selinux
crit
criu
criu-devel
criu-libs
python3-criu
podman (Red Hat package)
libwebsockets (Red Hat package)
libslirp-devel
libslirp
python3-podman
podman-docker
podman-gvproxy
podman-plugins
podman-catatonit
podman
podman-remote
podman-tests
openshift-clients (Red Hat package)
openshift-ansible (Red Hat package)
openshift4-aws-iso (Red Hat package)
openshift (Red Hat package)
openshift-kuryr (Red Hat package)
kernel-rt (Red Hat package)
kernel (Red Hat package)
weldr-client (Red Hat package)
cockpit-composer
cockpit-composer (Red Hat package)
osbuild-composer (Red Hat package)
osbuild-composer-worker
osbuild-composer
osbuild-composer-core
osbuild (Red Hat package)
python3-osbuild
osbuild-selinux
osbuild-ostree
osbuild
cockpit-podman
watsonx.data
AMQ Broker
IBM Security Verify Access
IBM CICS TX Advanced
IBM CICS TX Standard

How to mitigate CVE-2022-2879

Install updates from vendor's website.

Go programming language - addressed in versions 1.18.7, 1.19.2
Astronomer with IBM - update to 1.0.1
OpenShift API for Data Protection (OADP) - update to 1.1.2
Migration Toolkit for Containers - addressed in versions 1.7.7, 1.7.8
containerd - addressed in versions 1.5.14, 1.7.0
QRadar Suite - update to 1.10.18.0
OpenShift Service Mesh - addressed in versions 2.3.1, 2.4.0
IBM Cloud Pak System - update to 2.3.3.6
IBM Watson Assistant for IBM Cloud Pak for Data - update to 4.7.0
watsonx Orchestrate Cartridge for IBM Cloud Pak for Data - update to 5.3
Storage Fusion Data Foundation - update to 4.13
Red Hat OpenShift Container Platform - addressed in versions 4.11.28, 4.11.44, 4.12.0, 4.12.3, 4.12.4, 4.12.22
OpenShift Logging - addressed in versions 5.5.5, 5.6.0
Red Hat Migration Toolkit for Applications - update to 6.1.0
IBM Qradar SIEM - update to 7.5.0 Update Pack 9 IF01
Juniper Secure Analytics (JSA) - update to 7.5.0 UP9 IF02
Splunk Enterprise - addressed in versions 8.2.12, 9.0.6, 9.1.1
moby - update to 20.10.19
golang-1.13 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.13.8-1ubuntu1.2, 1.13.8-1ubuntu2.22.04.2
golang-1.13-go (Ubuntu package) - addressed in versions Ubuntu Pro, 1.13.8-1ubuntu1.2, 1.13.8-1ubuntu2.22.04.2
golang-1.13-src (Ubuntu package) - addressed in versions Ubuntu Pro, 1.13.8-1ubuntu1.2, 1.13.8-1ubuntu2.22.04.2
golang-1.16 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-0ubuntu1~20.04.1
golang-1.16-src (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-0ubuntu1~20.04.1
golang-1.16-go (Ubuntu package) - addressed in versions Ubuntu Pro, 1.16.2-0ubuntu1~20.04.1
toolbox-tests - update to 0.0.99.5-2.0.1
toolbox - update to 0.0.99.5-2.0.1
toolbox (Red Hat package) - update to 0.1.1-3.rhaos4.12.el8
udica - update to 0.2.6-21
golist - update to 0.10.1-11
qpid-proton (Red Hat package) - addressed in versions 0.37.0-2.el8ai, 0.37.0-2.el9ai
containernetworking-plugins (Red Hat package) - addressed in versions 1.0.1-6.rhaos4.12.el8, 1.0.1-7.rhaos4.12.el8
runc (Red Hat package) - addressed in versions 1.1.4-2.rhaos4.12.el8, 1.1.6-4.rhaos4.12.el8
slirp4netns (Red Hat package) - update to 1.1.8-2.rhaos4.12.el8
runc - update to 1.1.12-1.0.1
slirp4netns - update to 1.2.3-1
oci-seccomp-bpf-hook - update to 1.2.10-1
Red Hat Application Interconnect - update to 1.4
ObjectScale - update to 1.4.0
containernetworking-plugins - update to 1.4.0-2.0.1
skupper-cli (Red Hat package) - addressed in versions 1.4.1-2.el8, 1.4.1-2.el9
crun (Red Hat package) - addressed in versions 1.4.2-2.rhaos4.12.el8, 1.4.2-3.rhaos4.12.el9
WebSphere Automation - update to 1.5.2
openshift-serverless-clients (Red Hat package) - update to 1.6.1-1.el8
Netcool Operations Insight - update to 1.6.8
Dell EMC Streaming Data Platform - update to 1.7.0
fuse-overlayfs (Red Hat package) - update to 1.9-2.rhaos4.12.el8
skopeo (Red Hat package) - addressed in versions 1.9.4-2.rhaos4.12.el8, 1.9.4-2.rhaos4.12.el9, 1.9.4-3.rhaos4.12.el9, 1.9.4-3.1.rhaos4.12.el8
jsoncpp (Red Hat package) - update to 1.9.4-3.el9
aardvark-dns - update to 1.10.0-2.0.1
netavark - update to 1.10.3-1.0.1
fuse-overlayfs - update to 1.13-1.0.1
crun - update to 1.14.3-2
skopeo-tests - update to 1.14.3-2.0.1
skopeo - update to 1.14.3-2.0.1
golang-devel - update to 1.15.7-21
golang - update to 1.15.7-21
golang-help - update to 1.15.7-21
golang-1.18-go (Ubuntu package) - addressed in versions 1.18.1-1ubuntu1.1, 1.18.1-1ubuntu1~18.04.4, 1.18.1-1ubuntu1~20.04.2
golang-1.18-src (Ubuntu package) - addressed in versions 1.18.1-1ubuntu1.1, 1.18.1-1ubuntu1~18.04.4, 1.18.1-1ubuntu1~20.04.2
golang-1.18 (Ubuntu package) - addressed in versions 1.18.1-1ubuntu1.1, 1.18.1-1ubuntu1~18.04.4, 1.18.1-1ubuntu1~20.04.2
golang - addressed in versions 1.18.7-1.fc36, 1.18.9-1.el7, 1.19.2-1.fc37
go1.18 - update to 1.18.7-150000.1.34.1
go1.18-doc - update to 1.18.7-150000.1.34.1
go1.18-race - update to 1.18.7-150000.1.34.1
go-toolset-1.18 (Red Hat package) - update to 1.18.9-1.el7_9
go-toolset-1.18-golang (Red Hat package) - update to 1.18.9-1.el7_9
go-toolset (Red Hat package) - update to 1.18.9-1.el9_1
golang (Red Hat package) - update to 1.18.9-1.el9_1
go1.18-openssl-doc - update to 1.18.10.1-150000.1.9.1
go1.18-openssl-race - update to 1.18.10.1-150000.1.9.1
go1.18-openssl - update to 1.18.10.1-150000.1.9.1
go1.19-race - update to 1.19.2-150000.1.12.1
go1.19 - update to 1.19.2-150000.1.12.1
go1.19-doc - update to 1.19.2-150000.1.12.1
golang - update to 1.19.3-2
dev-lang/go - update to 1.20.10
buildah (Red Hat package) - addressed in versions 1.23.4-4.rhaos4.12.el8, 1.23.4-4.rhaos4.12.el9, 1.23.4-5.rhaos4.12.el9, 1.23.4-5.1.rhaos4.12.el8
cri-o (Red Hat package) - update to 1.25.2-6.rhaos4.12.git3c4e50c.el8
OpenShift Serverless Client - update to 1.27.0
Red Hat OpenShift Serverless - update to 1.27.0
containers-common (Red Hat package) - update to 1-33.rhaos4.12.el8
buildah - update to 1.33.7-1
buildah-tests - update to 1.33.7-1
containers-common - update to 1-81.0.1
watsonx.data - update to 2.0.1
IBM MQ Operator - addressed in versions 2.0.11, 2.3.3
conmon (Red Hat package) - addressed in versions 2.1.2-3.rhaos4.12.el8, 2.1.2-4.rhaos4.12.el8, 2.1.2-4.rhaos4.12.el9, 2.1.2-5.rhaos4.12.el9
conmon - update to 2.1.10-1
haproxy (Red Hat package) - update to 2.2.24-2.el8
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
skupper-router (Red Hat package) - addressed in versions 2.4.1-2.el8, 2.4.1-2.el9
container-selinux (Red Hat package) - update to 2.188.0-2.rhaos4.12.el8
container-selinux - update to 2.229.0-2
IBM Cloud Pak for Watson AIOps - update to 3.6.2
crit - update to 3.18-5.0.1
criu - update to 3.18-5.0.1
criu-devel - update to 3.18-5.0.1
criu-libs - update to 3.18-5.0.1
python3-criu - update to 3.18-5.0.1
podman (Red Hat package) - addressed in versions 4.2.0-5.rhaos4.12.el9, 4.2.0-6.1.rhaos4.12.el8, 4.2.0-7.rhaos4.12.el9
libwebsockets (Red Hat package) - addressed in versions 4.3.1-1.el8ai, 4.3.1-1.el9ai
libslirp-devel - update to 4.4.0-2
libslirp - update to 4.4.0-2
IBM Decision Optimization for Cloud Pak for Data - update to 4.6.1
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.6.2
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.6.3
python3-podman - update to 4.9.0-1
podman-docker - update to 4.9.4-1.0.1
podman-gvproxy - update to 4.9.4-1.0.1
podman-plugins - update to 4.9.4-1.0.1
podman-catatonit - update to 4.9.4-1.0.1
podman - update to 4.9.4-1.0.1
podman-remote - update to 4.9.4-1.0.1
podman-tests - update to 4.9.4-1.0.1
openshift-clients (Red Hat package) - addressed in versions 4.12.0-202301312133.p0.gb05f7d4.assembly.stream.el8, 4.12.0-202301312133.p0.gb05f7d4.assembly.stream.el9, 4.12.0-202306090942.p0.g3c01edd.assembly.stream.el8, 4.12.0-202306090942.p0.g3c01edd.assembly.stream.el9
openshift-ansible (Red Hat package) - update to 4.12.0-202306090942.p0.g74dc7b3.assembly.stream.el8
openshift4-aws-iso (Red Hat package) - update to 4.12.0-202306090942.p0.gd2acdd5.assembly.stream.el8
openshift (Red Hat package) - addressed in versions 4.12.0-202306121916.p0.g8c21020.assembly.stream.el8, 4.12.0-202306121916.p0.g8c21020.assembly.stream.el9
openshift-kuryr (Red Hat package) - update to 4.12.0-202306140156.p0.g31dd228.assembly.stream.el8
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.13.0
OpenShift Virtualization - update to 4.13.0
kernel-rt (Red Hat package) - addressed in versions 4.18.0-372.43.1.rt7.200.el8_6, 4.18.0-372.59.1.rt7.217.el8_6
kernel (Red Hat package) - update to 4.18.0-372.59.1.el8_6
App Connect Enterprise Certified Container - addressed in versions 5.0.3, 7.0.0
Storage Ceph - update to 6.1
AMQ Broker - update to 7.12.0
IBM supplied MQ Advanced container images - addressed in versions 9.3.0.5-r2, 9.3.2.1-r2
IBM Security Verify Access - update to 10.0.9
IBM Spectrum Protect Plus - update to 10.1.14
IBM CICS TX Advanced - update to 11.1.0.0 ifix7
IBM CICS TX Standard - update to 11.1.0.0 ifix7
IBM Netezza for Cloud Pak for Data - update to 11.2.3.3
Dell PowerProtect Cyber Recovery - update to 19.14.0.2
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.3, 23.0.4
weldr-client (Red Hat package) - addressed in versions 35.9-1.el9, 35.9-2.el8
cockpit-composer - update to 45-1
cockpit-composer (Red Hat package) - addressed in versions 45-1.el8_8, 45-1.el9_2
osbuild-composer (Red Hat package) - addressed in versions 75-1.el8, 76-2.el9_2
osbuild-composer-worker - update to 76-2.0.1
osbuild-composer - update to 76-2.0.1
osbuild-composer-core - update to 76-2.0.1
osbuild (Red Hat package) - addressed in versions 81-1.el8, 81-1.el9
python3-osbuild - update to 81-1.0.1
osbuild-selinux - update to 81-1.0.1
osbuild-ostree - update to 81-1.0.1
osbuild - update to 81-1.0.1
cockpit-podman - update to 84.1-1
Platform Navigator in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-4
Automation Assets in IBM Cloud Pak for Integration (CP4I) - update to 2022.2.1-4
Operations Dashboard - update to 2022.2.1-6-lts

External References

Related Security Bulletins