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 package | Versions | Reported by |
|---|---|---|
| must-gather-operator | before 4997ad93f0238464c626b1b4832d5b695d68517e | CVE List |
| github.com/openshift/must-gather (Go) | before 0.0.0-20240604173837-d1557bc283dd, all versions | GitHub Advisory Database, Go Vulnerability Database |
All scores
| redhat | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25131 changed 2025-07-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-77c2-c35q-254w changed 2024-12-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3349 changed 2024-12-20 | CC-BY-4.0 |
| NVD | CVE-2024-25131 changed 2026-06-17 | Public domain |