CVE-2024-3056
Podman: kernel: containers in shared ipc namespace are vulnerable to denial of service attack
Also known as GHSA-rpcc-p8xm-rc6p, GO-2024-3042
Mitigation
- Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Who should check
- Projects that depend on Go package github.com/containers/podman/v5 (<= 5.2.0)
- Projects that depend on Go package github.com/containers/podman (<= 5.2.0)
- Projects that depend on Go package github.com/containers/podman/v2 (<= 5.2.0)
- Projects that depend on Go package github.com/containers/podman/v3 (<= 5.2.0)
- Projects that depend on Go package github.com/containers/podman/v4 (<= 5.2.0)
- Anyone running podman 5.0.0
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
Vulnerability facts
- Affected
- github.com/containers/podman/v5 <= 5.2.0; github.com/containers/podman <= 5.2.0; github.com/containers/podman/v2 <= 5.2.0; github.com/containers/podman/v3 <= 5.2.0; github.com/containers/podman/v4 <= 5.2.0
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.94% chance of exploitation in 30 days (percentile 59, 2026-11-26)
- CWE
- CWE-400
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/containers/podman/v5 | <= 5.2.0 | — | osv |
| Go github.com/containers/podman | <= 5.2.0 | — | osv |
| Go github.com/containers/podman/v2 | <= 5.2.0 | — | osv |
| Go github.com/containers/podman/v3 | <= 5.2.0 | — | osv |
| Go github.com/containers/podman/v4 | <= 5.2.0 | — | osv |
| podman | 5.0.0 | — | cvelist |
| Red Hat Enterprise Linux 10 | all versions | — | cvelist |
| Red Hat Enterprise Linux 7 | — | — | cvelist |
| Red Hat Enterprise Linux 7 | — | — | cvelist |
| Red Hat Enterprise Linux 7 | — | — | cvelist |
| Red Hat Enterprise Linux 8 | — | — | cvelist |
| Red Hat Enterprise Linux 8 | — | — | cvelist |
| Red Hat Enterprise Linux 8 | all versions | — | cvelist |
| Red Hat Enterprise Linux 8 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | — | — | cvelist |
| Red Hat OpenShift Container Platform 3.11 | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-3056. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-3056.md Affected: github.com/containers/podman/v5 <= 5.2.0; github.com/containers/podman <= 5.2.0; github.com/containers/podman/v2 <= 5.2.0; github.com/containers/podman/v3 <= 5.2.0; github.com/containers/podman/v4 <= 5.2.0 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for github.com/containers/podman/v5 (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go), github.com/containers/podman/v3 (Go), github.com/containers/podman/v4 (Go), podman: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-3056 being exploited?
There is no confirmed exploitation: CVE-2024-3056 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.94% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-3056?
High: CVSS 7.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-3056?
github.com/containers/podman/v5 <= 5.2.0; github.com/containers/podman <= 5.2.0; github.com/containers/podman/v2 <= 5.2.0; github.com/containers/podman/v3 <= 5.2.0; github.com/containers/podman/v4 <= 5.2.0.
Is there a fix for CVE-2024-3056?
No fixed version is listed in the sources yet. Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
How do I check if I'm affected by CVE-2024-3056?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.