Podman: kernel: containers in shared ipc namespace are vulnerable to denial of service attack
cve-program · CVE-2024-3056
PublishedA 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.
Read the publisher's advisoryeuvd · EUVD-2024-2652
PublishedA 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.
Read the publisher's advisorynvd · CVE-2024-3056
PublishedA 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.
Read the publisher's advisoryosv · GHSA-rpcc-p8xm-rc6p
PublishedA 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.
Read the publisher's advisoryosv · GO-2024-3042
PublishedPodman vulnerable to memory-based denial of service in github.com/containers/podman
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-3056 · CVE overview and exploitation status
cve-program · CVE-2024-3056
- https://access.redhat.com/security/cve/CVE-2024-3056
- https://bugzilla.redhat.com/show_bug.cgi?id=2270717
euvd · EUVD-2024-2652
- https://access.redhat.com/security/cve/CVE-2024-3056
- https://bugzilla.redhat.com/show_bug.cgi?id=2270717
nvd · CVE-2024-3056
- https://access.redhat.com/security/cve/CVE-2024-3056
- https://bugzilla.redhat.com/show_bug.cgi?id=2270717
- https://security.netapp.com/advisory/ntap-20241227-0002/
osv · GHSA-rpcc-p8xm-rc6p
- https://nvd.nist.gov/vuln/detail/CVE-2024-3056
- https://access.redhat.com/security/cve/CVE-2024-3056
- https://bugzilla.redhat.com/show_bug.cgi?id=2270717
- https://github.com/containers/podman
- https://pkg.go.dev/vuln/GO-2024-3042
- https://security.netapp.com/advisory/ntap-20241227-0002
osv · GO-2024-3042
Related changes
Linked by CVE identifier- Podman: kernel: containers in shared ipc namespace are vulnerable to denial of service attack · Affected-version evidence changed · 5 Nov 2026