Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2022-2879: golang: archive/tar: unbounded memory consumption when reading headers

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat OpenShift: CVE-2022-2879: golang: archive/tar: unbounded memory consumption when reading headers

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
10/14/2022
Created
01/26/2023
Added
01/26/2023
Modified
05/30/2024

Description

Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.

Solution(s)

  • linuxrpm-upgrade-buildah
  • linuxrpm-upgrade-conmon
  • linuxrpm-upgrade-openshift-clients
  • linuxrpm-upgrade-podman
  • linuxrpm-upgrade-skopeo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;