Skip to content
Fencer Vulns
medium 6.0

CVE-2023-30841 json

Ironic and ironic-inspector deployed within Baremetal Operator may expose as ConfigMaps

published 2023-04-26 3 y ago modified 2026-06-17 4 mo ago also GHSA-9wh7-397j-722m , EUVD-2023-1258

cvss
6.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 8%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/metal3-io/baremetal-operator 0.3.0
  • linuxfoundation baremetal_operator 0.3.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-30841 updated cvss 6.0

baremetal-operator: plain-text username and hashed password readable by anyone having a cluster-wide read-access

  • Red Hat Openshift Data Foundation 4 odf4/odr-rhel8-operator, odf4/odf-multicluster-rhel9-operator
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4.12 openshift4/ztp-site-generate-rhel8 v4.12.6-18, openshift4/topology-aware-lifecycle-manager-precache-rhel8 v4.12.8-4, openshift4/topology-aware-lifecycle-manager-recovery-rhel8 v4.12.8-4, openshift4/topology-aware-lifecycle-manager-rhel8-operator v4.12.8-4, openshift4/topology-aware-lifecycle-manager-operator-bundle v4.12.8-17
    fixed: vendor fix RHSA-2024:3801
  • Red Hat OpenShift Container Platform 4.13 openshift4/ose-baremetal-rhel8-operator v4.13.0-202305021616.p0.ge037aa0.assembly.stream
    fixed: vendor fix RHSA-2023:1326
  • Red Hat OpenShift Container Platform 4.14 openshift4/topology-aware-lifecycle-manager-rhel8-operator v4.14.0-68
    fixed: vendor fix RHSA-2023:6143
  • Red Hat OpenShift Container Platform 4 openshift4/ose-installer, openshift4/ose-agent-installer-api-server-rhel9, openshift4/ose-cluster-baremetal-operator-rhel8, openshift4/ose-baremetal-machine-controllers-rhel9, openshift4/ose-image-customization-controller-rhel8 Red Hat OpenShift Container Platform 4.13 openshift4/ose-cli v4.13.0-202304190216.p0.g92b1a3d.assembly.stream, openshift4/ose-pod v4.13.0-202304211155.p0.gb404935.assembly.stream, openshift4/ose-etcd v4.13.0-202304190216.p0.gf70da9d.assembly.stream, openshift4/ose-tests v4.13.0-202305031828.p0.g893ae57.assembly.stream, openshift4/ose-console v4.13.0-202305031828.p0.ga551d28.assembly.stream, openshift4/ose-coredns v4.13.0-202304190216.p0.g5560e4a.assembly.stream, +174 more Red Hat OpenShift Container Platform 4.14 openshift4/ztp-site-generate-rhel8 v4.14.0-71, openshift4/baremetal-hardware-event-proxy-rhel8 v4.14.0-23, openshift4/bare-metal-event-relay-rhel8-operator v4.14.0-27, openshift4/bare-metal-event-relay-operator-bundle v4.14.0-49, openshift4/topology-aware-lifecycle-manager-precache-rhel8 v4.14.0-61, openshift4/topology-aware-lifecycle-manager-recovery-rhel8 v4.14.0-61, +1 more Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8, rhai-tech-preview/assisted-installer-agent-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/metal3-io/baremetal-operator/pull/1241 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 6.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 6.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
go github.com/metal3-io/baremetal-operator
<0.3.0
0.3.0

Affected products

  • metal3-io baremetal-operator

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-319 Cleartext Transmission of Sensitive Information

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.