Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941218 (CVE-2024-9341) - <app-containers/containers-common-0.60.4: improper file path handling when FIPS mode is enabled
Summary: <app-containers/containers-common-0.60.4: improper file path handling when FI...
Status: CONFIRMED
Alias: CVE-2024-9341
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL: https://github.com/advisories/GHSA-mc...
Whiteboard: C2 [glsa? cleanup]
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 01:24 UTC by Christopher Fore
Modified: 2025-03-01 21:26 UTC (History)
4 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:24:26 UTC
CVE-2024-9341:

A flaw was found in Go. When FIPS mode is enabled on a system, container runtimes may incorrectly handle certain file paths due to improper validation in the containers/common Go library. This flaw allows an attacker to exploit symbolic links and trick the system into mounting sensitive host directories inside a container. This issue also allows attackers to access critical host files, bypassing the intended isolation between containers and the host system.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2025-03-01 05:48:28 UTC
Fix is in 0.60.4 according to https://github.com/containers/common/commit/e7db06585c32e1a782c1d9aa3b71ccd708f5e23f, which is stable. Needs cleanup.
Comment 2 Larry the Git Cow gentoo-dev 2025-03-01 21:26:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd2cf88635ffc0c895b2ddd5c30c78814ca91bf4

commit dd2cf88635ffc0c895b2ddd5c30c78814ca91bf4
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2025-03-01 21:23:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2025-03-01 21:25:39 +0000

    app-containers/containers-common: drop 0.59.1
    
    Bug: https://bugs.gentoo.org/941218
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-containers/containers-common/Manifest          |  1 -
 .../containers-common-0.59.1.ebuild                | 75 ----------------------
 2 files changed, 76 deletions(-)