CVE-2024-9341
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.8CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 5.4CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
- v3.1•HIGH•Score: 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS Trends
Current EPSS score: 1.03%• Percentile: 62%
Techniques & Countermeasures
- CWE-59•Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected Systems
- chainguard•buildah
< 1.37.3-r1
- chainguard•podman
< 5.4.1-r2
- chainguard•podman-doc
< 5.4.1-r2
- chainguard•skopeo
< 1.16.1-r2
- chainguard•skopeo-fips
< 1.16.1-r2
- chainguard•zot
< 2.1.1-r3
- wolfi•buildah
< 1.37.3-r1
- wolfi•podman
< 5.4.1-r2
- wolfi•podman-doc
< 5.4.1-r2
- wolfi•skopeo
< 1.16.1-r2
- wolfi•zot
< 2.1.1-r3
- debian•golang-github-containers-common
all | all | < 0.60.4+ds1-1 | < 0.60.4+ds1-1
- github.com/containers•common
< 0.60.4
- redhat•enterprise_linux
8.0 | 9.0
- redhat•openshift_container_platform
4.12 | 4.13 | 4.14 | 4.15 | 4.16 | 4.17
- redhat•cri-o
< 0:1.30.6-3.rhaos4.17.git49b5172.el8 | < 0:1.30.6-3.rhaos4.17.git49b5172.el9 | < 0:1.27.8-10.rhaos4.14.git807f92c.el8 | < 0:1.27.8-10.rhaos4.14.git807f92c.el9
- redhat•cri-o-debuginfo
< 0:1.30.6-3.rhaos4.17.git49b5172.el8 | < 0:1.30.6-3.rhaos4.17.git49b5172.el9 | < 0:1.27.8-10.rhaos4.14.git807f92c.el8 | < 0:1.27.8-10.rhaos4.14.git807f92c.el9
- redhat•cri-o-debugsource
< 0:1.30.6-3.rhaos4.17.git49b5172.el8 | < 0:1.30.6-3.rhaos4.17.git49b5172.el9 | < 0:1.27.8-10.rhaos4.14.git807f92c.el8 | < 0:1.27.8-10.rhaos4.14.git807f92c.el9
References (30)
- https://access.redhat.com/errata/RHSA-2024:10147
- https://access.redhat.com/errata/RHSA-2024:10818
- https://access.redhat.com/errata/RHSA-2024:7925
- https://access.redhat.com/errata/RHSA-2024:8039
- https://access.redhat.com/errata/RHSA-2024:8112
- https://access.redhat.com/errata/RHSA-2024:8238
- https://access.redhat.com/errata/RHSA-2024:8263
- https://access.redhat.com/errata/RHSA-2024:8428
- https://access.redhat.com/errata/RHSA-2024:8690
- https://access.redhat.com/errata/RHSA-2024:8694
- https://access.redhat.com/errata/RHSA-2024:8846
- https://access.redhat.com/errata/RHSA-2024:9454
- https://access.redhat.com/errata/RHSA-2024:9459
- https://access.redhat.com/security/cve/CVE-2024-9341
- https://bugzilla.redhat.com/show_bug.cgi?id=2315691
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L169
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L349
- https://nvd.nist.gov/vuln/detail/CVE-2024-9341
- https://github.com/containers/common/commit/e7db06585c32e1a782c1d9aa3b71ccd708f5e23f
- https://github.com/containers/common
- https://github.com/advisories/GHSA-mc76-5925-c5p6
- https://access.redhat.com/errata/RHSA-2024:6122
- https://access.redhat.com/security/updates/classification/#moderate
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_7925.json
- https://www.cve.org/CVERecord?id=CVE-2024-9341
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_8238.json
- https://security-tracker.debian.org/tracker/CVE-2024-9341
- https://access.redhat.com/downloads/content/package-browser/
- https://catalog.redhat.com/software/containers/
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9341.json