CVE-2024-3056

HIGHCVSS 7.7/10EPSS 0.51%

Last modified

CVE-2024-3056 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 0.51% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.7/10

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:H

EPSS Probability
0.51%

39.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Podman ProjectPodman<= 5.2.0
RedhatOpenshift Container Platform4.0
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0
FedoraprojectFedora40

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-3056?
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.
How severe is CVE-2024-3056?
CVE-2024-3056 has a CVSS score of 7.7/10 (HIGH severity). The EPSS model estimates a 0.51% probability of exploitation in the next 30 days.
How do I fix CVE-2024-3056?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-3056?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST