Red Hat Security Advisory: runc security update
🔗 CVE IDs covered (5)
📋 Description
CVE-2021-43784 — runc: integer overflow in netlink bytemsg length field allows attacker to override netlink-based container configuration
CVE-2022-41724 — golang: crypto/tls: large handshake records may cause panics
CVE-2023-25809 — runc: Rootless runc makes /sys/fs/cgroup writable
CVE-2023-27561 — runc: volume mount race condition (regression of CVE-2019-19921)
CVE-2023-28642 — runc: AppArmor can be bypassed when /proc inside the container is symlinked with a specific mount configuration
🎯 Affected products14
- Red Hat Enterprise Linux AppStream (v. 9)
- runc-4:1.1.9-1.el9.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-4:1.1.9-1.el9.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-4:1.1.9-1.el9.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-4:1.1.9-1.el9.src as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-4:1.1.9-1.el9.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debuginfo-4:1.1.9-1.el9.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debuginfo-4:1.1.9-1.el9.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debuginfo-4:1.1.9-1.el9.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debuginfo-4:1.1.9-1.el9.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debugsource-4:1.1.9-1.el9.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debugsource-4:1.1.9-1.el9.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debugsource-4:1.1.9-1.el9.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- runc-debugsource-4:1.1.9-1.el9.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Condition 1: Unshare the cgroup namespace ((docker|podman|nerdctl) run --cgroupns=private). This is the default behavior of Docker/Podman/nerdctl on cgroup v2 hosts. Condition 2 (very rare): add /sys/fs/cgroup to maskedPaths Workaround: Avoid using an untrusted container image.
🔗 References (9)
- selfhttps://access.redhat.com/errata/RHSA-2023:6380
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2029439
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2175721
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2178492
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2182883
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2182884
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6380.json