Vulnerability · Published Dec 19, 2024 · Assigned by redhat
CVE-2024-25131Openshift-dedicated: must-gather-operator: yaml template injection leads to privilege escalation
High 8.8
In plain English
A high-severity improper input validation in must-gather-operator. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/openshift/must-gather | 0.0.0-20240604173837-d1557bc283dd | GHSA-77c2-c35q-254w |
| Go | github.com/openshift/must-gather | no fix listed | GO-2024-3349 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| must-gather-operator | 0 – before 4997ad93f0238464c626b1b4832d5b695d68517e |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2024-25131 vdb-entry, x_refsource_REDHAT
- RHBZ#2258856 issue-tracking, x_refsource_REDHAT
- https://github.com/openshift/must-gather-operator/pull/135
- https://github.com/openshift/must-gather-operator/pull/138