ADVISORIES

Red Hat VEX

RHVEX-CVE-2022-2879

golang: archive/tar: github.com/vbatts/tar-split: unbounded memory consumption when reading headers

Moderate No fix available CVE-2022-2879

Details

A flaw was found in the golang package, where Reader.Read does not set a limit on the maximum size of file headers. After fixing, Reader.Read limits the maximum size of header blocks to 1 MiB. This flaw allows a maliciously crafted archive to cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panic.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8buildah
All versions, will not be fixed
Red Hat:enterprise_linux:8buildah-tests
All versions, will not be fixed
Red Hat:enterprise_linux:8containers-common
All versions, no fix yet
Red Hat:enterprise_linux:8podman
All versions, no fix yet
Red Hat:enterprise_linux:8podman-catatonit
All versions, no fix yet
Red Hat:enterprise_linux:8podman-docker
All versions, no fix yet
Red Hat:enterprise_linux:8podman-gvproxy
All versions, no fix yet
Red Hat:enterprise_linux:8podman-manpages
All versions, no fix yet
Red Hat:enterprise_linux:8podman-plugins
All versions, no fix yet
Red Hat:enterprise_linux:8podman-remote
All versions, no fix yet
Red Hat:enterprise_linux:8podman-tests
All versions, no fix yet
Red Hat:enterprise_linux:8skopeo
All versions, no fix yet
Red Hat:enterprise_linux:8skopeo-tests
All versions, no fix yet
Red Hat:enterprise_linux:9buildah
All versions, will not be fixed
Red Hat:enterprise_linux:9buildah-tests
All versions, will not be fixed
Red Hat:enterprise_linux:9podman
All versions, will not be fixed
Red Hat:enterprise_linux:9podman-catatonit
All versions, will not be fixed
Red Hat:enterprise_linux:9podman-docker
All versions, will not be fixed
Red Hat:enterprise_linux:9podman-gvproxy
All versions, will not be fixed
Red Hat:enterprise_linux:9podman-plugins
All versions, will not be fixed
Red Hat:enterprise_linux:9podman-remote
All versions, will not be fixed
Red Hat:enterprise_linux:9podman-tests
All versions, will not be fixed
Red Hat:enterprise_linux:9skopeo
All versions, will not be fixed
Red Hat:enterprise_linux:9skopeo-tests
All versions, will not be fixed

References