CVE-2024-3056
Executive Summary
CVE-2024-3056 exposes a flaw in Podman that allows an attacker to craft a container sharing an IPC namespace with a benign container. The malicious container creates a large number of IPC objects in /dev/shm, exhausting memory until OOM‑killed. The IPC objects persist after the container’s cgroup is removed, and the namespace remains until all containers using it stop. By restarting the container (e.g., with --restart=always), the attacker can repeatedly consume memory, causing a system‑wide denial of service. The vulnerability is not yet listed in CISA KEV.
Authoritative CVE Metadata
- CVSS Base Score: 7.7 (HIGH)
- Last Modified: 29-10-26
Original Description
A flaw was found in Podman. This issue may allow an attacker to create a specially crafted container that, when configured to share the same IPC with at least one other container, can create a large number of IPC resources in /dev/shm. The malicious container will continue to exhaust resources until it is out-of-memory (OOM) killed. While the malicious container's cgroup will be removed, the IPC resources it created are not. Those resources are tied to the IPC namespace that will not be removed until all containers using it are stopped, and one non-malicious container is holding the namespace open. The malicious container is restarted, either automatically or by attacker control, repeating the process and increasing the amount of memory consumed. With a container configured to restart always, such as podman run --restart=always, this can result in a memory-based denial of service of the system.