Advisory Published
Updated

REDHAT-BUG-2317467

First published: Wed Oct 09 2024(Updated: )

A symlink traversal vulnerability in the containers/storage library can cause Podman, Buildah, and CRI-O to hang and potentially be DoSed via OOM kill when running a malicious image using an automatically assigned user namespace (`--userns=auto` in Podman and Buildah). The containers/storage library will read /etc/passwd inside the container, but does not properly validate if that file is a symlink, which can be used to cause the library to read an arbitrary file on the host. This file is only read, and if it does not properly parse as a copy of `/etc/passwd` it will cause an error (there is a small risk of information disclosure via the error message here as elements of the file that failed to parse can be included, but this is only as the user running Podman/Buildah/CRI-O so it wouldn't be a file they did not already have access to). The report here discovered that you can symlink /etc/passwd in the container to a FIFO on the host, causing a hang as the file cannot be completely read (or an OOM condition if the FIFO is continuously written to, which was then ready by Podman). This hang could occur in a critical section in the c/storage library, blocking other processes from creating containers, but could be easily solved via a SIGKILL of the affected process. The ability to potentially crash the CRI-O service via OOM kill could be more relevant, though the attacker would have to know the path of a FIFO that is regularly being written to on the host in order to do this.

Affected SoftwareAffected VersionHow to fix
Red Hat Podman
Buildah
Red Hat cri-o
containers storage

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2317467?

    The severity of REDHAT-BUG-2317467 is considered high due to the potential for denial of service via OOM kill.

  • How do I fix REDHAT-BUG-2317467?

    To address REDHAT-BUG-2317467, it is recommended to update to the latest patched versions of Podman, Buildah, and CRI-O.

  • What software is affected by REDHAT-BUG-2317467?

    REDHAT-BUG-2317467 affects Red Hat Podman, Red Hat Buildah, and Red Hat CRI-O.

  • What type of vulnerability is REDHAT-BUG-2317467?

    REDHAT-BUG-2317467 is a symlink traversal vulnerability in the containers/storage library.

  • What impact does REDHAT-BUG-2317467 have on applications?

    The impact of REDHAT-BUG-2317467 can lead to application hangs and potential denial of service when running malicious images.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203