CVE-2024-3056

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductPodman
PublishedAug 2, 2024
First seenAug 2, 2024

How to fix

Affected products

ProductAffected versionsFixed in
podman_project podmanv ≤ 5.2.0—
redhat openshift_container_platform4.0—
redhat enterprise_linux8.0, 9.0—
fedoraproject fedora40—
github.com/containers/podman/v5Gov ≤ 5.2.0, No range specified—
github.com/containers/podmanGov ≤ 5.2.0, No range specified—
github.com/containers/podman/v2Gov ≤ 5.2.0, No range specified—
github.com/containers/podman/v3Gov ≤ 5.2.0, No range specified—
github.com/containers/podman/v4Gov ≤ 5.2.0, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-3056 · Podman · Dark Radar