{"id":"CVE-2024-3056","published":"2024-08-02T20:37:59Z","modified":"2026-11-05T12:17:58Z","title":"Podman: kernel: containers in shared ipc namespace are vulnerable to denial of service attack","vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00545,"percentile":0.46659,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-3056","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2270717","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.netapp.com/advisory/ntap-20241227-0002/","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.33},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["5.0.0"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-03T18:09:31.742310Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/containers/podman/v5","vulnerableRanges":["<=5.2.0","all versions"],"patched":[],"from":["GHSA-rpcc-p8xm-rc6p","GO-2024-3042"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman","vulnerableRanges":["<=5.2.0","all versions"],"patched":[],"from":["GHSA-rpcc-p8xm-rc6p","GO-2024-3042"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v2","vulnerableRanges":["<=5.2.0","all versions"],"patched":[],"from":["GHSA-rpcc-p8xm-rc6p","GO-2024-3042"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v3","vulnerableRanges":["<=5.2.0","all versions"],"patched":[],"from":["GHSA-rpcc-p8xm-rc6p","GO-2024-3042"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v4","vulnerableRanges":["<=5.2.0","all versions"],"patched":[],"from":["GHSA-rpcc-p8xm-rc6p","GO-2024-3042"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2652","exploited":false,"provenance":"source"}}