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.

Severity (CVSS 3.1)6.0Medium
Exploit odds (30 days)0.2%top 91.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/metal3-io/baremetal-operator0.3.0GHSA-9wh7-397j-722m

Affected products (as reported)

VendorProductVersions
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