REDHAT-BUG-2317458: High severity buildah vulnerability

Published Oct 9, 2024
·
Updated

Cache mounts (--mount type=cache,id=...) in Buildah and podman build do not properly validate that user-specified paths for the cache are within our cache directory, allowing a RUN instruction in a Containerfile to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah. This codepath automatically performs an SELinux relabel on the directory in question to ensure the build has access to it, so SELinux does not stop this.

Affected Software

2 affected components
Red Hat Buildah
Red Hat Podman

Event History

Oct 9, 2024
Data Sourced
via Red Hat·02:49 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2317458?

The severity of REDHAT-BUG-2317458 is classified as critical.

2

How do I fix REDHAT-BUG-2317458?

To fix REDHAT-BUG-2317458, update to the latest version of Buildah or Podman where the vulnerability has been addressed.

3

What systems are affected by REDHAT-BUG-2317458?

REDHAT-BUG-2317458 affects Red Hat Buildah and Red Hat Podman.

4

Can REDHAT-BUG-2317458 lead to data exposure?

Yes, REDHAT-BUG-2317458 can potentially allow unauthorized access to arbitrary directories on the host.

5

What should I monitor for regarding REDHAT-BUG-2317458?

Monitor your container builds and ensure that the cache paths used are properly validated to mitigate potential risks from REDHAT-BUG-2317458.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203