CVE-2024-9407: A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files. The above is fixed in 5.2.4.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35bf2c6c4ad248c7b1ff1b4f6fab0e9e71989422 commit 35bf2c6c4ad248c7b1ff1b4f6fab0e9e71989422 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2024-10-11 21:58:11 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2024-10-11 21:58:16 +0000 app-containers/podman: add 5.2.4 Bug: https://bugs.gentoo.org/941217 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-containers/podman/Manifest | 1 + app-containers/podman/podman-5.2.4.ebuild | 146 ++++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+)