Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-rpcc-p8xm-rc6p: Podman vulnerable to memory-based denial of service

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.

ghsa
#dos#git
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-3056

Podman vulnerable to memory-based denial of service

Moderate severity GitHub Reviewed Published Aug 2, 2024 to the GitHub Advisory Database • Updated Aug 5, 2024

Package

gomod github.com/containers/podman/v5 (Go)

Affected versions

<= 5.2.0

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

  • https://nvd.nist.gov/vuln/detail/CVE-2024-3056
  • https://access.redhat.com/security/cve/CVE-2024-3056
  • https://bugzilla.redhat.com/show_bug.cgi?id=2270717

Published to the GitHub Advisory Database

Aug 2, 2024

ghsa: Latest News

GHSA-pj33-75x5-32j4: RabbitMQ HTTP API's queue deletion endpoint does not verify that the user has a required permission