Описание
crun is an open source OCI Container Runtime fully written in C. Prior to version 1.28, crun's default device setup opens the container rootfs /dev directory without O_NOFOLLOW. If an OCI bundle contains rootfs/dev as a symlink and the bundle configuration does not mount /dev, crun follows that symlink and creates the default device nodes and stdio symlinks at the symlink target outside the container rootfs. In a local rootful crun replay, this created fixed device nodes and symlinks outside the rootfs before crun returned failure. A pre-existing file named ptmx in the target directory was also replaced by crun's forced ptmx -> pts/ptmx symlink. Version 1.28 fixes the issue.
A flaw was found in crun, an OCI Container Runtime. When processing an OCI bundle where the container root filesystem's /dev directory is a symbolic link and /dev is not explicitly mounted, crun incorrectly follows this symlink outside the container's intended boundaries. This allows a local attacker to create or overwrite device nodes and symlinks in arbitrary locations on the host system, potentially leading to privilege escalation or denial of service.
Отчет
A flaw was found in crun's device setup routine. When processing an OCI container bundle where the rootfs "/dev" directory is configured as a symlink and "/dev" is not explicitly mounted, crun traverses the symlink without using O_NOFOLLOW. This allows crun to create default device nodes and stdio symlinks at the target path on the host filesystem outside the container boundary. A local attacker supplying a crafted bundle can overwrite existing host files or create unauthorized device nodes, potentially resulting in host denial of service, file corruption, or privilege escalation.
Меры по смягчению последствий
Explicitly configure a dedicated "/dev" mount point inside the container bundle specification, or restrict untrusted users from deploying custom, unvetted OCI container bundles on the host.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | crun | Affected | ||
| Red Hat Enterprise Linux 9 | crun | Affected | ||
| Red Hat OpenShift Container Platform 4 | crun | Affected | ||
| Red Hat Enterprise Linux 8 | container-tools | Fixed | RHSA-2026:100549 | 19.11.2026 |
| Red Hat Enterprise Linux 9.8 Extended Update Support | crun | Fixed | RHSA-2026:99117 | 12.11.2026 |
| Red Hat Hardened Images | crun-main-1.28-2.hum1 | Fixed | RHSA-2026:54855 | 14.08.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
8.4 High
CVSS3
Связанные уязвимости
crun is an open source OCI Container Runtime fully written in C. Prior to version 1.28, crun's default device setup opens the container rootfs `/dev` directory without `O_NOFOLLOW`. If an OCI bundle contains `rootfs/dev` as a symlink and the bundle configuration does not mount `/dev`, crun follows that symlink and creates the default device nodes and stdio symlinks at the symlink target outside the container rootfs. In a local rootful crun replay, this created fixed device nodes and symlinks outside the rootfs before crun returned failure. A pre-existing file named `ptmx` in the target directory was also replaced by crun's forced `ptmx -> pts/ptmx` symlink. Version 1.28 fixes the issue.
crun is an open source OCI Container Runtime fully written in C. Prior to version 1.28, crun's default device setup opens the container rootfs `/dev` directory without `O_NOFOLLOW`. If an OCI bundle contains `rootfs/dev` as a symlink and the bundle configuration does not mount `/dev`, crun follows that symlink and creates the default device nodes and stdio symlinks at the symlink target outside the container rootfs. In a local rootful crun replay, this created fixed device nodes and symlinks outside the rootfs before crun returned failure. A pre-existing file named `ptmx` in the target directory was also replaced by crun's forced `ptmx -> pts/ptmx` symlink. Version 1.28 fixes the issue.
crun is an open source OCI Container Runtime fully written in C. Prior ...
Important: container-tools:rhel8 security, bug fix, and enhancement update
ELSA-2026-100549: container-tools:ol8 security, bug fix, and enhancement update (IMPORTANT)
EPSS
8.4 High
CVSS3