← Übersicht OpenShift

Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy

CVE-2024-7387 · GHSA-qqv8-ph7f-h3f7 · GO-2024-3129

Kritisch · CVSS 9.1 Red Hat: Important Netzwerk · mit Login Fix verfügbar

Veröffentlicht
16.09.2024
Zuletzt geändert
11.08.2026
EPSS (30 Tage)
2.3 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the “Docker” strategy, executable files inside the privileged build container can be overridden using the `spec.source.secrets.secret.destinationDir` attribute of the `BuildConfig` definition. An attacker running code in a privileged container could escalate their permissions on the node running the container.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 7 behoben, 6 nicht betroffen.

Red Hat OpenShift Container Platform 4.12 Behoben openshift4/ose-docker-builder RHSA-2024:6705
Red Hat OpenShift Container Platform 4.13 Behoben openshift4/ose-docker-builder RHSA-2024:6691
Red Hat OpenShift Container Platform 4.14 Behoben openshift4/ose-docker-builder RHSA-2024:6689
Red Hat OpenShift Container Platform 4.15 Behoben openshift4/ose-docker-builder RHSA-2024:6685
Red Hat OpenShift Container Platform 4.16 Behoben openshift4/ose-docker-builder-rhel9 RHSA-2024:6687
Red Hat OpenShift Container Platform 4.17 Behoben openshift4/ose-docker-builder-rhel9 RHSA-2024:3718
Red Hat OpenShift Container Platform 4.18 Behoben openshift4/aws-kms-encryption-provider-rhel9, openshift4/azure-kms-encryption-provider-rhel9, openshift4/azure-service-rhel9-operator, openshift4/cloud-network-config-controller-rhel9, openshift4/container-networking-plugins-microshift-rhel9, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel9, openshift4/frr-rhel9, openshift4/insights-runtime-exporter-rhel9, openshift4/insights-runtime-extractor-rhel9, openshift4/kube-metrics-server-rhel9, openshift4/kubevirt-csi-driver-rhel9, openshift4/network-tools-rhel9, openshift4/oc-mirror-plugin-rhel9, openshift4/openshift-route-controller-manager-rhel9, openshift4/ose-agent-installer-api-server-rhel9, openshift4/ose-agent-installer-csr-approver-rhel9, openshift4/ose-agent-installer-node-agent-rhel9, openshift4/ose-agent-installer-orchestrator-rhel9, openshift4/ose-agent-installer-utils-rhel9, openshift4/ose-apiserver-network-proxy-rhel9, openshift4/ose-aws-cloud-controller-manager-rhel9, openshift4/ose-aws-cluster-api-controllers-rhel9, openshift4/ose-aws-ebs-csi-driver-rhel9, openshift4/ose-aws-ebs-csi-driver-rhel9-operator und 165 weitere RHSA-2024:6122
Nicht betroffen (6)
Red Hat OpenShift Container Platform 4.12Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-cluster-node-tuning-operator, openshift4/ose-openshift-controller-manager-rhel8, rhcos
Red Hat OpenShift Container Platform 4.13Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-openshift-controller-manager-rhel8
Red Hat OpenShift Container Platform 4.14Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-openshift-controller-manager-rhel8
Red Hat OpenShift Container Platform 4.15Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-openshift-controller-manager-rhel9
Red Hat OpenShift Container Platform 4.16Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/ose-openshift-controller-manager-rhel9
Red Hat OpenShift Container Platform 4.17Nicht betroffenverwundbarer Code nicht enthaltenopenshift4/aws-kms-encryption-provider-rhel9, openshift4/azure-kms-encryption-provider-rhel9, openshift4/cloud-network-config-controller-rhel9, openshift4/container-networking-plugins-microshift-rhel9, openshift4/driver-toolkit-rhel9, openshift4/egress-router-cni-rhel9, openshift4/frr-rhel9, openshift4/kube-metrics-server-rhel9, openshift4/kubevirt-csi-driver-rhel9, openshift4/network-tools-rhel9, openshift4/oc-mirror-plugin-rhel9, openshift4/openshift-route-controller-manager-rhel9, openshift4/ose-agent-installer-api-server-rhel9, openshift4/ose-agent-installer-csr-approver-rhel9, openshift4/ose-agent-installer-node-agent-rhel9, openshift4/ose-agent-installer-orchestrator-rhel9, openshift4/ose-agent-installer-utils-rhel9, openshift4/ose-apiserver-network-proxy-rhel9, openshift4/ose-aws-cloud-controller-manager-rhel9, openshift4/ose-aws-cluster-api-controllers-rhel9, openshift4/ose-aws-ebs-csi-driver-rhel9, openshift4/ose-aws-ebs-csi-driver-rhel9-operator, openshift4/ose-aws-pod-identity-webhook-rhel9, openshift4/ose-azure-cloud-controller-manager-rhel9, openshift4/ose-azure-cloud-node-manager-rhel9 und 163 weitere

Betroffene Pakete im beobachteten Stack

Gogithub.com/openshift/builderkein Fix bekanntGHSA-qqv8-ph7f-h3f7
Gogithub.com/openshift/builderkein Fix bekanntGO-2024-3129

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.