-
Bug
-
Resolution: Done
-
Undefined
-
None
-
MCE 2.9.1
-
Security & Compliance
-
False
-
-
False
-
-
-
Important
-
None
Description of problem:
Image multicluster-engine/hive-rhel9 is using package python3-3.9.16, which is vulnerable to CVE-2023-6597. Errata RHSA-2024:4078 [1] fixed it with python3-3.9.18 in RHEL 9.4 and 9.6, but the image is still using RHEL 9.2 as base.
Version-Release number of selected component (if applicable):
Version 2.9 of the image [2] (older versions seems to not have python)
How reproducible:
Steps to Reproduce:
- Get into the image (for example, with Podman, assuming the authfile is in /var/lib/kubelet/config.json):
# podman run --rm --authfile /var/lib/kubelet/config.json -it --entrypoint /bin/bash registry.redhat.io/multicluster-engine/hive-rhel9@sha256:55388553b68ad695bbde73addc43a68fc4523c4477f979ee1e8103b79dbe0bea - Check the redhat-release, and the package python3 installed:
bash-5.1# cat /etc/redhat-release Red Hat Enterprise Linux release 9.2 (Plow) bash-5.1# rpm -q python3 python3-3.9.16-1.el9_2.10.x86_64
Actual results:
Image using vulnerable version.
Expected results:
Image using newer version with the fix for CVE-2023-6597
Additional info:
The base images used to build this one are shown in [3], and it could be required that those are upgraded.
[1] https://access.redhat.com/errata/RHSA-2024:4078
[2] https://catalog.redhat.com/en/software/containers/multicluster-engine/hive-rhel9/66b1030cee4005aeedfe5019?image=690358ee97eecc6608c5b741#packages
[3] https://catalog.redhat.com/en/software/containers/multicluster-engine/hive-rhel9/66b1030cee4005aeedfe5019?image=690358ee97eecc6608c5b741#containerfile