CVE-2025-29781
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2025-03-17
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.2 %
høyere enn 7 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| github.com/metal3-io/baremetal-operator | apis (Go) | < 0.8.1 | Berørt |
| github.com/metal3-io/baremetal-operator | apis (Go) | ≥ 0.9.0, < 0.9.1 | Berørt |
Svakhetstype
-
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
-
CWE-653: Improper Isolation or Compartmentalization
The product does not properly compartmentalize or isolate functionality, processes, or resources that require different privilege levels, rights, or permissions.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1111: Multi-Factor Authentication Interception
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
- T1134.001: Token Impersonation/Theft
- T1135: Network Share Discovery
- T1217: Browser Information Discovery
- T1550.004: Web Session Cookie
- T1574.006: Dynamic Linker Hijacking
Referanser
- https://github.com/metal3-io/baremetal-operator/commit/19f8443b1fe182f76dd81b43122e8dd102…
- https://github.com/metal3-io/baremetal-operator/pull/2321
- https://github.com/metal3-io/baremetal-operator/pull/2322
- https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-c98h-7hp9-v9hq
- https://github.com/metal3-io/metal3-docs/blob/main/design/baremetal-operator/bmc-events.md
- https://github.com/metal3-io/metal3-docs/blob/main/design/baremetal-operator/bmc-events.md
Relatert hos Berigo
Artikler
-
Ny bakdør våkner først når den rette pakken passerer i nettverket
Samme produkt
2026-08-25
En ny bakdør for Windows utgir seg for å være Microsofts dpapi.dll og er laget for sidelasting inn i ESETs ERAAgent.exe. Den kontakter ingen fast tje…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.