CVE-2024-3056 Podman: kernel: containers in shared ipc namespace are vulnerable to denial of service attack
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuRed Hat
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.
Upgrade path
12 packages: 1 fixed, 1 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux | = 8; = 8.0; = 9; = 9.0 +1 more | No fix listed | No fix yet |
| ubuntu/libpod(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libpod(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libpod(Ubuntu Pro 22.04) | = 3.2.1+ds1-2ubuntu3; = 3.4.4+ds1-1ubuntu1; = 3.4.4+ds1-1ubuntu1.22.04.1; = 3.4.4+ds1-1ubuntu1.22.04.2 +5 more | No fix listed | No fix yet |
| ubuntu/libpod(Ubuntu Pro 24.04) | = 4.3.1+ds1-8; = 4.7.2+ds1-2; = 4.7.2+ds1-2build1; = 4.8.3+ds1-2 +10 more | No fix listed | No fix yet |
| containers github.com/containers/podman/v4(Go) | <= 5.2.0; All versions | after 5.2.0 | Partially fixed |
| podman project podman | <= 5.2.0 | after 5.2.0 | Fixed |
| fedoraproject fedora | = 40 | No fix listed | Versions listed |
| podman | = 5.0.0 | No fix listed | Versions listed |
| redhat openshift | = 3.11; = 4 | No fix listed | Versions listed |
| redhat openshift container platform | = 4.0 | No fix listed | Versions listed |
| redhat rhel els | = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| containers github.com/containers/podman/v4(Go) | <= 5.2.0 | No fix listed |
| containers github.com/containers/podman/v4(Go) | All versions | No fix listed |
| ubuntu/libpod(Ubuntu:22.04) | All versions | No fix listed |
| podman | = 5.0.0 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift | = 3.11 | No fix listed |
| redhat openshift | = 4 | No fix listed |
| ubuntu/libpod(Ubuntu:24.04) | All versions | No fix listed |
| podman project podman | <= 5.2.0 | No fix listed |
| redhat openshift container platform | = 4.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| fedoraproject fedora | = 40 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | All versions | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.2.1+ds1-2ubuntu3 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1.22.04.1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1.22.04.2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1.22.04.3 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1.22.04.3+esm1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1.22.04.3+esm2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:22.04) | = 3.4.4+ds1-1ubuntu1.22.04.3+esm3 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/libpod(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.3.1+ds1-8 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.7.2+ds1-2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.7.2+ds1-2build1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.8.3+ds1-2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.0+ds1-2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1build1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1build2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1ubuntu0.1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1ubuntu0.2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1ubuntu0.2+esm1 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1ubuntu0.2+esm2 | No fix listed |
| ubuntu/libpod(Ubuntu:Pro:24.04) | = 4.9.3+ds1-1ubuntu0.2+esm3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- access.redhat.com issue-tracking third-party-advisory vdb-entry vendor-advisory
- RHBZ#2270717 issue-tracking
- github.com product
- pkg.go.dev
- security.netapp.com
- github.com vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2024-2652 third-party-advisory