Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941217 (CVE-2024-9407) - <app-containers/podman-5.2.4: improper input validation
Summary: <app-containers/podman-5.2.4: improper input validation
Status: CONFIRMED
Alias: CVE-2024-9407
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://github.com/advisories/GHSA-fh...
Whiteboard: B2 [cleanup glsa?]
Keywords:
Depends on: 941592
Blocks:
  Show dependency tree
 
Reported: 2024-10-10 01:21 UTC by Christopher Fore
Modified: 2024-10-18 15:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Fore 2024-10-10 01:21:41 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2024-10-11 21:59:08 UTC
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(+)