CVE-2024-25131
JSON

8.8high

Openshift-dedicated: must-gather-operator: yaml template injection leads to privilege escalation

Severity
8.8high CVSS:3.1 by redhat
Exploit likelihood
0.76% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-77c2-c35q-254wGO-2024-3349

Description

A flaw was found in the MustGather.managed.openshift.io Custom Defined Resource (CRD) of OpenShift Dedicated. A non-privileged user on the cluster can create a MustGather object with a specially crafted file and set the most privileged service account to run the job. This can allow a standard developer user to escalate their privileges to a cluster administrator and pivot to the AWS environment.

Affected

Product or packageVersionsReported by
must-gather-operatorbefore 4997ad93f0238464c626b1b4832d5b695d68517eCVE List
github.com/openshift/must-gather (Go)before 0.0.0-20240604173837-d1557bc283dd, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

redhat8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-1336

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A flaw was found in the MustGather.managed.openshift.io Custom Defined Resource (CRD) of OpenShift Dedicated. A non-privileged user on the cluster can create a MustGather object with a specially crafted file and set the most privileged service account to run the job. This can allow a standard developer user to escalate their privileges to a cluster administrator and pivot to the AWS environment.

Go Vulnerability Database

OpenShift Must Gather Operator Improper Input Validation vulnerability in github.com/openshift/must-gather.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/openshift/must-gather before v0.0.0-20240604173837-d1557bc283dd.

NVD (es)

Se encontró una falla en el recurso definido a medida (CRD) MustGather.managed.openshift.io de OpenShift Dedicated. Un usuario sin privilegios en el clúster puede crear un objeto MustGather con un archivo especialmente manipulado y configurar la cuenta de servicio con más privilegios para ejecutar el trabajo. Esto puede permitir que un usuario desarrollador estándar escale sus privilegios a un administrador del clúster y cambie al entorno de AWS.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-25131 changed 2025-07-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-77c2-c35q-254w changed 2024-12-20CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3349 changed 2024-12-20CC-BY-4.0
NVDCVE-2024-25131 changed 2026-06-17Public domain