REDHAT-BUG-2315887: Medium severity Docker docker vulnerability

Published Oct 1, 2024
·
Updated

A flaw in the bind-propagation option of the Dockerfile RUN --mount instruction allows arbitrary parameters to be passed to the underlying mount command. This issue enables an attacker to mount arbitrary host files into a container during the build process and potentially modify them. SELinux does not provide sufficient defense, as the attacker can specify :z or :Z to relabel the host directory for container access. The vulnerability requires an attacker to have build privileges on the system and can lead to unauthorized access and modification of host files, posing significant security risks.

Affected Software

1 affected component
Docker docker

Event History

Oct 1, 2024
Data Sourced
via Red Hat·10:55 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2315887?

The severity of REDHAT-BUG-2315887 is considered high due to its potential to allow unauthorized access to host files.

2

How do I fix REDHAT-BUG-2315887?

To fix REDHAT-BUG-2315887, update your Docker installation to the latest version that addresses this vulnerability.

3

What systems are affected by REDHAT-BUG-2315887?

REDHAT-BUG-2315887 affects versions of Docker where the bind-propagation option of the RUN --mount instruction is utilized.

4

What can attackers do with REDHAT-BUG-2315887?

Attackers can exploit REDHAT-BUG-2315887 to mount arbitrary host files into containers during the build process.

5

Is SELinux impacted by REDHAT-BUG-2315887?

SELinux protections may not be effective against the misuse of the bind-propagation option exploited in REDHAT-BUG-2315887.

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