Openshift-dedicated: must-gather-operator: yaml template injection leads to privilege escalation
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/openshift/must-gather (Go) | before 0.0.0-20240604173837-d1557bc283dd | 0.0.0-20240604173837-d1557bc283dd | Patch available | GHSA-77c2-c35q-254w |
- github.com/openshift/must-gather (Go) Vendor— Affected before 0.0.0-20240604173837-d1557bc283dd Fixed in 0.0.0-20240604173837-d1557bc283dd Patch available GHSA-77c2-c35q-254w
Remediation
- Fix · GHSA-77c2-c35q-254w github.com/openshift/must-gather (Go) Fixed in 0.0.0-20240604173837-d1557bc283dd Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-25131
- 2026-10-03 Alias added: GHSA-77c2-c35q-254w
References
Sources
- CVE-2024-25131 · CVE Program
- CVE-2024-25131 · NVD
- FIRST EPSS
- GHSA-77c2-c35q-254w · GitHub Advisory Database · CC BY 4.0
- CVE-2024-25131 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences