REDHAT-BUG-2315887: Medium severity Docker docker vulnerability
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
Event History
Frequently Asked Questions
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.
How do I fix REDHAT-BUG-2315887?
To fix REDHAT-BUG-2315887, update your Docker installation to the latest version that addresses this vulnerability.
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.
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.
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.