Vulnerability · Published Apr 26, 2023 · Assigned by GitHub_M
CVE-2023-30841Ironic and ironic-inspector deployed within Baremetal Operator may expose as ConfigMaps
Medium 6.0
In plain English
A medium-severity information exposure in baremetal-operator from metal3-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Baremetal Operator (BMO) is a bare metal host provisioning integration for Kubernetes. Prior to version 0.3.0, ironic and ironic-inspector deployed within Baremetal Operator using the included `deploy.sh` store their `.htpasswd` files as ConfigMaps instead of Secrets. This causes the plain-text username and hashed password to be readable by anyone having a cluster-wide read-access to the management cluster, or access to the management cluster's Etcd storage. This issue is patched in baremetal-operator PR#1241, and is included in BMO release 0.3.0 onwards. As a workaround, users may modify the kustomizations and redeploy the BMO, or recreate the required ConfigMaps as Secrets per instructions in baremetal-operator PR#1241.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/metal3-io/baremetal-operator | 0.3.0 | GHSA-9wh7-397j-722m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| metal3-io | baremetal-operator | < 0.3.0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
References
- https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-9wh7-397j-722m x_refsource_CONFIRM
- https://github.com/metal3-io/baremetal-operator/pull/1241 x_refsource_MISC