> CVE-2025-29781 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-03-17 22:15
MODIFIED
2025-03-18 15:16
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.18%
Top 91.9%
DATA SOURCES:
NVD 🔗 2025-10-18 RED HAT 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08

> DESCRIPTION

The Bare Metal Operator (BMO) implements a Kubernetes API for managing bare metal hosts in Metal3. Baremetal Operator enables users to load Secret from arbitrary namespaces upon deployment of the namespace scoped Custom Resource `BMCEventSubscription`. Prior to versions 0.8.1 and 0.9.1, an adversary Kubernetes account with only namespace level roles (e.g. a tenant controlling a namespace) may create a `BMCEventSubscription` in his authorized namespace and then load Secrets from his unauthorized namespaces to his authorized namespace via the Baremetal Operator, causing Secret Leakage. The patch makes BMO refuse to read Secrets from other namespace than where the corresponding BMH resource is. The patch does not change the `BMCEventSubscription` API in BMO, but stricter validation will fail the request at admission time. It will also prevent the controller reading such Secrets, in case the BMCES CR has already been deployed. The issue exists for all versions of BMO, and is patched in BMO releases v0.9.1 and v0.8.1. Prior upgrading to patched BMO version, duplicate any existing Secret pointed to by `BMCEventSubscription`'s `httpHeadersRef` to the same namespace where the corresponding BMH exists. After upgrade, remove the old Secrets. As a workaround, the operator can configure BMO RBAC to be namespace scoped, instead of cluster scoped, to prevent BMO from accessing Secrets from other namespaces, and/or use `WATCH_NAMESPACE` configuration option to limit BMO to single namespace.

> AFFECTED_PRODUCTS

Red Hat - Red Hat OpenShift Container Platform 4.12
Red Hat - Red Hat OpenShift Container Platform 4.16
Red Hat - Red Hat OpenShift Container Platform 4.18
Red Hat - Red Hat OpenShift Container Platform 4.19
Red Hat - Red Hat OpenShift Container Platform 4.13
Red Hat - Red Hat OpenShift Container Platform 4.14
Red Hat - Red Hat OpenShift Container Platform 4.15
Red Hat - Red Hat OpenShift Container Platform 4.17

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: OpenShift Container Platform 4.19.0 bug fix and security update
Red Hat OpenShift Container Platform release 4.19.0 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red Ha...
Red Hat Security Advisory: OpenShift Container Platform 4.13.58 bug fix and security update
Red Hat OpenShift Container Platform release 4.13.58 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red H...
Red Hat Security Advisory: OpenShift Container Platform 4.15.50 bug fix and security update
Red Hat OpenShift Container Platform release 4.15.50 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red H...
Red Hat Security Advisory: OpenShift Container Platform 4.12.76 bug fix and security update
Red Hat OpenShift Container Platform release 4.12.76 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red H...

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Important

> GITHUB SECURITY ADVISORY

GHSA-c98h-7hp9-v9hq MODERATE

Bare Metal Operator (BMO) can expose any secret from other namespaces via BMCEventSubscription CRD

AFFECTED PACKAGES:
GO / github.com/metal3-io/baremetal-operator/apis
<= 0.8.0
Fixed in: 0.8.1
GO / github.com/metal3-io/baremetal-operator/apis
= 0.9.0
Fixed in: 0.9.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Bare Metal Operator (BMO) can expose any secret from other namespaces via BMCEventSubscription CRD

AFFECTED PACKAGES:
Unknown / Unknown
60 versions affected
ALIASES:
GHSA-c98h-7hp9-v9hq, GO-2025-3530

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/03/2025 22:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:01
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 18/10/2025 12:19
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Important", "severity_scale": null }
📊 ENRICHISSEMENT 18/10/2025 12:19
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 3 Dernière mise à jour: 1 year ago
« BACK_TO_HOME