CVE-2024-9341
Podman: buildah: cri-o: fips crypto-policy directory mounting issue in containers/common go library
Check your servers for CVE-2024-9341
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-9341 affects cri-o, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.03%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 64.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-59 Improper Link Resolution Before File Access
Affected products
As the CNA lists them. The first 100 of 711 entries; all of them are in the record on cve.org.
| Product | Versions |
|---|---|
|
github.com/containers/common
package
github.com/containers/common |
affected before 0.60.4
Other versions: unaffected
|
|
Red Hat Enterprise Linux 8
package
container-tools:rhel8 |
unaffected 8100020241023085649.afee755d and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
podman |
unaffected 4:4.9.4-13.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
buildah |
unaffected 2:1.33.9-1.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
podman |
unaffected 4:5.2.2-9.el9_5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
buildah |
unaffected 2:1.37.5-1.el9_5 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
cri-o |
unaffected 0:1.25.5-30.rhaos4.12.git53dc492.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
cri-o |
unaffected 0:1.25.5-30.rhaos4.12.git53dc492.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
cri-o |
unaffected 0:1.26.5-26.rhaos4.13.giteb3d487.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
cri-o |
unaffected 0:1.26.5-26.rhaos4.13.giteb3d487.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
cri-o |
unaffected 0:1.27.8-10.rhaos4.14.git807f92c.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
cri-o |
unaffected 0:1.27.8-10.rhaos4.14.git807f92c.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
cri-o |
unaffected 0:1.28.11-5.rhaos4.15.git35a2431.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
cri-o |
unaffected 0:1.28.11-5.rhaos4.15.git35a2431.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
cri-o |
unaffected 0:1.29.9-5.rhaos4.16.git34690b9.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
openshift/ose-rhel-coreos-9 |
unaffected 416.94.202411201433-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
cri-o |
unaffected 0:1.29.9-5.rhaos4.16.git34690b9.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
cri-o |
unaffected 0:1.30.6-3.rhaos4.17.git49b5172.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
openshift/ose-rhel-coreos-9 |
unaffected 417.94.202412040832-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
cri-o |
unaffected 0:1.30.6-3.rhaos4.17.git49b5172.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
buildah |
unaffected 2:1.33.7-4.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
conmon |
unaffected 3:2.1.12-7.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
conmon-rs |
unaffected 0:0.6.6-0.rhaos4.18.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
containers-common |
unaffected 3:1-86.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
container-selinux |
unaffected 4:2.234.2-2.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
cri-o |
unaffected 0:1.31.5-4.rhaos4.18.gitdad78d5.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
cri-tools |
unaffected 0:1.31.1-3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
crudini |
unaffected 0:0.9.3-4.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
crun |
unaffected 0:1.19.1-2.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
golang-github-prometheus-promu |
unaffected 0:0.16.0-20.gitf6c51c9.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
haproxy |
unaffected 0:2.8.10-1.rhaos4.17.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ignition |
unaffected 0:2.18.0-6.rhaos4.16.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
kernel |
unaffected 0:5.14.0-427.50.2.el9_4 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
libreswan |
unaffected 0:4.6-3.el9_0.3 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift |
unaffected 0:4.18.0-202502051001.p0.gacb9630.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift4-aws-iso |
unaffected 0:4.18.0-202502110932.p0.gd2acdd5.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift-ansible |
unaffected 0:4.18.0-202411201308.p0.g006fe4e.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift-clients |
unaffected 0:4.18.0-202502032331.p0.ga50d4c0.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ose-aws-ecr-image-credential-provider |
unaffected 0:4.18.0-202411201308.p0.gc395190.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ose-azure-acr-image-credential-provider |
unaffected 0:4.18.0-202412111238.p0.g9c24d76.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ose-gcp-gcr-image-credential-provider |
unaffected 0:4.18.0-202501220601.p0.g6ea2356.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ovn24.09 |
unaffected 0:24.09.2-14.el9fdp and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
podman |
unaffected 5:5.2.2-5.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
pyOpenSSL |
unaffected 0:20.0.1-2.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
pysnmp |
unaffected 0:4.4.12-6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
pysnmp-lextudio |
unaffected 0:5.0.26-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-alembic |
unaffected 0:1.6.0-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-amqp |
unaffected 0:5.0.6-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-automaton |
unaffected 0:3.2.0-0.20240522151206.9255778.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-autopage |
unaffected 0:0.4.0-1.el9.2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-bcrypt |
unaffected 0:3.1.6-3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-beautifulsoup4 |
unaffected 0:4.9.3-2.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-binary-memcached |
unaffected 0:0.31.1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cachetools |
unaffected 0:3.1.0-4.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cinderclient |
unaffected 0:9.4.0-0.20231214204912.f1f14df.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-click |
unaffected 0:7.1.2-5.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cliff |
unaffected 0:4.7.0-0.20240708130156.b75afa0.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cmd2 |
unaffected 0:1.4.0-2.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-colorama |
unaffected 0:0.4.1-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-construct |
unaffected 0:2.10.56-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-contextlib2 |
unaffected 0:0.6.0.post1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ddt |
unaffected 0:1.6.0-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-debtcollector |
unaffected 0:3.0.0-0.20240522153257.0e6ce1c.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-decorator |
unaffected 0:4.4.2-6.0.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-defusedxml |
unaffected 0:0.7.1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-dogpile-cache |
unaffected 0:1.1.5-3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-dracclient |
unaffected 0:8.0.0-0.20231214182834.9c7499c.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-editor |
unaffected 0:1.0.4-5.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-eventlet |
unaffected 0:0.33.1-6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-fasteners |
unaffected 0:0.18-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-fixtures |
unaffected 0:4.0.1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-flask |
unaffected 2:2.0.1-4.el9.2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-funcsigs |
unaffected 0:1.0.2-17.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-futurist |
unaffected 0:3.0.0-0.20240522153313.4e14db5.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-gevent |
unaffected 0:21.1.2-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-glanceclient |
unaffected 1:4.4.0-0.20231214201927.62e6fc8.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-greenlet |
unaffected 0:1.1.3-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-gunicorn |
unaffected 0:20.0.4-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-hardware |
unaffected 0:0.31.0-0.20231214192627.af076d3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-html5lib |
unaffected 1:1.1-4.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ifaddr |
unaffected 0:0.1.6-6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-importlib-metadata |
unaffected 0:4.12.0-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ironicclient |
unaffected 0:4.9.0-0.20211209154934.6f1be06.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ironic-prometheus-exporter |
unaffected 0:4.3.0-0.20231219134422.5211827.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-iso8601 |
unaffected 0:0.1.12-9.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-itsdangerous |
unaffected 0:2.0.1-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-jinja2 |
unaffected 0:3.1.5-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-jsonpath-rw |
unaffected 0:1.2.3-23.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-jsonschema |
unaffected 0:4.17.3-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-kazoo |
unaffected 0:2.7.0-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-keyring |
unaffected 0:21.0.0-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-keystoneauth1 |
unaffected 0:5.8.0-0.20240926162816.cca6c92.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-keystoneclient |
unaffected 1:5.5.0-0.20240926163413.a635649.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-keystonemiddleware |
unaffected 0:10.7.1-0.20240926161612.4c001ba.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-kombu |
unaffected 1:5.0.2-1.el9.2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-logutils |
unaffected 0:0.3.5-7.1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-markupsafe |
unaffected 0:2.1.1-4.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-memcached |
unaffected 0:1.58-12.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-microversion-parse |
unaffected 0:1.0.1-0.20240424173932.2c36df6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-migrate |
unaffected 0:0.13.0-2.el9 and later
Other versions: affected
|
Is my server affected?
Find the installed version of cri-o and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i cri-o
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-9341 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-9341RHEL, Rocky, Alma, Fedora
rpm -q cri-o
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-9341Alpine
apk list --installed | grep -i cri-oWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-9341
trivy image --scanners vuln IMAGE | grep CVE-2024-9341
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHEA-2024:6126 access.redhat.com · vendor advisory
- RHSA-2024:10147 access.redhat.com · vendor advisory
- RHSA-2024:10818 access.redhat.com · vendor advisory
- RHSA-2024:6122 access.redhat.com · vendor advisory
- RHSA-2024:7925 access.redhat.com · vendor advisory
- RHSA-2024:8039 access.redhat.com · vendor advisory
- RHSA-2024:8112 access.redhat.com · vendor advisory
- RHSA-2024:8238 access.redhat.com · vendor advisory
- RHSA-2024:8263 access.redhat.com · vendor advisory
- RHSA-2024:8428 access.redhat.com · vendor advisory
- RHSA-2024:8690 access.redhat.com · vendor advisory
- RHSA-2024:8694 access.redhat.com · vendor advisory
5 more
- RHSA-2024:8846 access.redhat.com · vendor advisory
- RHSA-2024:9454 access.redhat.com · vendor advisory
- RHSA-2024:9459 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-9341 access.redhat.com · vdb entry
- RHBZ#2315691 bugzilla.redhat.com · issue tracking
Other references
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L169 github.com
- https://github.com/containers/common/blob/384f77532f67afc8a73d8e0c4adb0d195df57714/pkg/subscriptions/subscriptions.go#L349 github.com
Source: the record CVE-2024-9341 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse