8.6Alta

CVE-2024-21626runc container breakout through process.cwd trickery and leaked fds

opencontainers runc; Red Hat OCP-Tools-4.15-RHEL-8; Red Hat Red Hat Enterprise Linux 7 Extras; Red Hat Red Hat Enterprise Linux 8 Publicada: (hace 2 años)

Descripción

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

Debilidad (CWE): CWE-403CWE-668CWE-200

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
ocp tools 4.15 —
opencontainers runc >=v1.0.0-rc93, < 1.1.12
openshift 4.11 —
openshift 4.12 —
openshift 4.13 —
openshift 4.14 —
openshift 4.15 —
openshift 4.16 —
openshift 4.17 —
Red Hat OCP-Tools-4.15-RHEL-8 all versions
Red Hat OpenShift Developer Tools and Services all versions
Red Hat Power monitoring for Red Hat OpenShift all versions
Red Hat Red Hat Enterprise Linux 10 —
Red Hat Red Hat Enterprise Linux 7 Extras all versions
Red Hat Red Hat Enterprise Linux 8 all versions
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support all versions
Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service all versions
Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service all versions
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions all versions
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support all versions
Red Hat Red Hat OpenShift Container Platform 4 all versions
Red Hat Red Hat OpenShift Container Platform 4.11 all versions
Red Hat Red Hat OpenShift Container Platform 4.12 all versions
Red Hat Red Hat OpenShift Container Platform 4.13 all versions
Red Hat Red Hat OpenShift Container Platform 4.14 all versions
Red Hat Red Hat OpenShift Container Platform 4.15 all versions
Red Hat Red Hat OpenShift Container Platform 4.16 all versions
Red Hat Red Hat OpenShift Container Platform 4.17 all versions
Red Hat Red Hat OpenShift Virtualization 4 all versions

Referencias y parches