Skip to content
Fencer Vulns
high 8.8

CVE-2024-25131 json

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

published 2024-12-19 22 mo ago modified 2026-06-17 4 mo ago also GHSA-77c2-c35q-254w , GO-2024-3349 , EUVD-2024-3563

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

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.

Patch / fix

  • go github.com/openshift/must-gather 0.0.0-20240604173837-d1557bc283dd
  • govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250108T191942-150000.1.26.1

suse advisories SUSE-SU-2025:0060-1

  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20241220T214820-1.1

opensuse advisories openSUSE-SU-2024:14608-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-25131 updated cvss 8.8

openshift-dedicated: must-gather-operator: YAML template injection leads to privilege escalation

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
22 mo ago

Exploit prediction

0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/openshift/must-gather
<0.0.0-20240604173837-d1557bc283dd
all versions
0.0.0-20240604173837-d1557bc283dd

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.