Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/containers/podman/v4
  4. ›
  5. CVE-2024-3056

CVE-2024-3056: Podman vulnerable to memory-based denial of service

August 2, 2024 (updated December 27, 2024)

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.

References

  • access.redhat.com/security/cve/CVE-2024-3056
  • bugzilla.redhat.com/show_bug.cgi?id=2270717
  • github.com/advisories/GHSA-rpcc-p8xm-rc6p
  • github.com/containers/podman
  • nvd.nist.gov/vuln/detail/CVE-2024-3056
  • pkg.go.dev/vuln/GO-2024-3042
  • security.netapp.com/advisory/ntap-20241227-0002

Code Behaviors & Features

Detect and mitigate CVE-2024-3056 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.2.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/containers/podman/v4/CVE-2024-3056.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.