
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-3056 is a vulnerability discovered in Podman that affects versions through 5.2.0. The vulnerability was disclosed in August 2024 and affects Podman's container management functionality, particularly when containers share IPC namespaces (NVD).
The vulnerability occurs when containers are configured to share the same IPC namespace. An attacker can create a specially crafted container that can create a large number of IPC resources in /dev/shm. When the malicious container reaches its memory limit, it gets OOM (Out-Of-Memory) killed. While the container's cgroup is removed upon termination, the IPC resources it created persist as they are tied to the IPC namespace, which remains active due to other containers using it. The CVSS v3.1 base score is 4.8 (MEDIUM) with vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H (NVD).
The primary impact is a potential memory-based denial of service (DoS) of the system. When the malicious container is restarted (either automatically or by attacker control), it can repeat the process, continuously increasing the amount of memory consumed. This is particularly effective when using container configurations like podman run --restart=always, as it allows for persistent resource exhaustion (Red Hat Bugzilla).
Currently, there is no direct mitigation available as the issue stems from how the Linux kernel handles shared memory in cgroups. When the owning cgroup has exited all its processes and is to be destroyed, it remains in a zombie state due to additional references to the shared memory. The issue is under discussion in the upstream community, but there is no consensus on the best way forward (Red Hat Bugzilla).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."