{"id":"CVE-2023-30841","aliases":["GHSA-9wh7-397j-722m"],"summary":"Ironic and ironic-inspector deployed within Baremetal Operator may expose as ConfigMaps","published_at":"2023-04-26T18:24:04.479Z","modified_at":"2025-01-30T21:30:50.655Z","products":[],"rating":{"severity":"medium","score":6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0019099999917671084,"percentile":0.08886999636888504,"date":"2026-11-19T00:00:00Z"},"priority":5.5,"details":"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_stack":[],"affected_other":[{"ecosystem":"CVE","package":"metal3-io/baremetal-operator","versions":["< 0.3.0"],"provider":"cvelistv5","source":"CVE-2023-30841","relation":"self"},{"ecosystem":"Go","package":"github.com/metal3-io/baremetal-operator","purl":"pkg:golang/github.com/metal3-io/baremetal-operator","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"osv","source":"GHSA-9wh7-397j-722m","relation":"self"},{"ecosystem":"NVD","package":"linuxfoundation:baremetal_operator","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"nvd","source":"CVE-2023-30841","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-agent-installer-api-server-rhel9","openshift4/ose-baremetal-machine-controllers-rhel9","openshift4/ose-cluster-baremetal-operator-rhel8","openshift4/ose-image-customization-controller-rhel8","openshift4/ose-installer"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","cpe":"cpe:/a:redhat:openshift:4.12::el8","status":"fixed","packages":["openshift4/topology-aware-lifecycle-manager-operator-bundle","openshift4/topology-aware-lifecycle-manager-precache-rhel8","openshift4/topology-aware-lifecycle-manager-recovery-rhel8","openshift4/topology-aware-lifecycle-manager-rhel8-operator","openshift4/ztp-site-generate-rhel8"],"package_count":5,"fixed":[],"advisories":["RHSA-2024:3801"],"provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","cpe":"cpe:/a:redhat:openshift:4.13::el8","status":"fixed","packages":["openshift4/ose-baremetal-rhel8-operator"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:1326"],"provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","cpe":"cpe:/a:redhat:openshift:4.13::el8","status":"not_affected","packages":["openshift4/cloud-network-config-controller-rhel8","openshift4/driver-toolkit-rhel9","openshift4/egress-router-cni-rhel8","openshift4/kubevirt-csi-driver-rhel8","openshift4/network-tools-rhel8","openshift4/oc-mirror-plugin-rhel8","openshift4/openshift-route-controller-manager-rhel8","openshift4/ose-agent-installer-api-server-rhel8","openshift4/ose-agent-installer-csr-approver-rhel8","openshift4/ose-agent-installer-node-agent-rhel8","openshift4/ose-agent-installer-orchestrator-rhel8","openshift4/ose-alibaba-cloud-controller-manager-rhel8","openshift4/ose-alibaba-cloud-csi-driver-container-rhel8","openshift4/ose-alibaba-disk-csi-driver-operator-container-rhel8","openshift4/ose-alibaba-machine-controllers-rhel8","openshift4/ose-apiserver-network-proxy-rhel8","openshift4/ose-aws-cloud-controller-manager-rhel8","openshift4/ose-aws-cluster-api-controllers-rhel8","openshift4/ose-aws-ebs-csi-driver-rhel8","openshift4/ose-aws-ebs-csi-driver-rhel8-operator","openshift4/ose-aws-pod-identity-webhook-rhel8","openshift4/ose-azure-cloud-controller-manager-rhel8","openshift4/ose-azure-cloud-node-manager-rhel8","openshift4/ose-azure-cluster-api-controllers-rhel8","openshift4/ose-azure-disk-csi-driver-rhel8"],"package_count":180,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","cpe":"cpe:/a:redhat:openshift:4.14::el8","status":"fixed","packages":["openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:6143"],"provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","cpe":"cpe:/a:redhat:openshift:4.14::el8","status":"not_affected","packages":["openshift4/bare-metal-event-relay-operator-bundle","openshift4/bare-metal-event-relay-rhel8-operator","openshift4/baremetal-hardware-event-proxy-rhel8","openshift4/topology-aware-lifecycle-manager-operator-bundle","openshift4/topology-aware-lifecycle-manager-precache-rhel8","openshift4/topology-aware-lifecycle-manager-recovery-rhel8","openshift4/ztp-site-generate-rhel8"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform Assisted Installer 1","cpe":"cpe:/a:redhat:assisted_installer:1","status":"not_affected","packages":["rhai-tech-preview/assisted-installer-agent-rhel8","rhai-tech-preview/assisted-installer-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"affected","packages":["odf4/odf-multicluster-rhel9-operator","odf4/odr-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-30841"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1362","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1362","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-06-11T22:00:00Z","modified_at":"2024-12-10T23:00:00Z","summary":"Red Hat OpenShift: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen und Dateimanipulation","details":"Ein lokaler Angreifer kann mehrere Schwachstellen in Red Hat OpenShift ausnutzen, um Informationen offenzulegen und Dateien zu manipulieren.\n\nRed Hat OpenShift ist eine \"Platform as a Service\" (PaaS) Lösung zur Bereitstellung von Applikationen in der Cloud.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2024-1362"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1362.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1362"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3676"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3801"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:3700"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:4008"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:4486"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:10818"}]},{"provider":"cvelistv5","source_id":"CVE-2023-30841","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-30841","license":"CC-BY-4.0","published_at":"2023-04-26T18:24:04.479Z","modified_at":"2025-01-30T21:30:50.655Z","summary":"Ironic and ironic-inspector deployed within Baremetal Operator may expose as ConfigMaps","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N","source":"CVE-2023-30841"}],"affected":[{"ecosystem":"CVE","package":"metal3-io/baremetal-operator","versions":["< 0.3.0"],"provider":"cvelistv5","source":"CVE-2023-30841","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-9wh7-397j-722m"},{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/pull/1241"}]},{"provider":"nvd","source_id":"CVE-2023-30841","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30841","severity":[],"affected":[{"ecosystem":"NVD","package":"linuxfoundation:baremetal_operator","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"nvd","source":"CVE-2023-30841","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-9wh7-397j-722m","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9wh7-397j-722m","license":"CC-BY-4.0","published_at":"2023-04-26T19:46:00Z","modified_at":"2023-11-08T04:12:27.263669Z","summary":"Ironic and ironic-inspector may expose as ConfigMaps","details":"### Impact\nIronic 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.\n\n### Patches\nThis issue is patched in [baremetal-operator PR#1241](https://github.com/metal3-io/baremetal-operator/pull/1241), and is included in BMO release 0.3.0 onwards.\n\n### Workarounds\nUser may modify the kustomizations and redeploy the BMO, or recreate the required ConfigMaps as Secrets per instructions in [baremetal-operator PR#1241](https://github.com/metal3-io/baremetal-operator/pull/1241)","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N","source":"GHSA-9wh7-397j-722m"}],"affected":[{"ecosystem":"Go","package":"github.com/metal3-io/baremetal-operator","purl":"pkg:golang/github.com/metal3-io/baremetal-operator","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}],"fixed":["0.3.0"],"provider":"osv","source":"GHSA-9wh7-397j-722m","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-9wh7-397j-722m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30841"},{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/pull/1241"},{"type":"PACKAGE","url":"https://github.com/metal3-io/baremetal-operator"}]},{"provider":"redhat-vex","source_id":"CVE-2023-30841","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-30841","license":"CC-BY-4.0","published_at":"2023-04-27T00:00:00Z","modified_at":"2023-10-26T16:29:55Z","summary":"baremetal-operator: plain-text username and hashed password readable by anyone having a cluster-wide read-access","details":"A flaw was found in the baremetal-operator, where the ironic and ironic-inspector deployed within the baremetal operator using the included deploy.sh store `.htpasswd` files as ConfigMaps instead of Secrets. This issue 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N","source":"CVE-2023-30841"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-30841"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-agent-installer-api-server-rhel9","openshift4/ose-baremetal-machine-controllers-rhel9","openshift4/ose-cluster-baremetal-operator-rhel8","openshift4/ose-image-customization-controller-rhel8","openshift4/ose-installer"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","cpe":"cpe:/a:redhat:openshift:4.12::el8","status":"fixed","packages":["openshift4/topology-aware-lifecycle-manager-operator-bundle","openshift4/topology-aware-lifecycle-manager-precache-rhel8","openshift4/topology-aware-lifecycle-manager-recovery-rhel8","openshift4/topology-aware-lifecycle-manager-rhel8-operator","openshift4/ztp-site-generate-rhel8"],"package_count":5,"fixed":[],"advisories":["RHSA-2024:3801"],"provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","cpe":"cpe:/a:redhat:openshift:4.13::el8","status":"fixed","packages":["openshift4/ose-baremetal-rhel8-operator"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:1326"],"provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","cpe":"cpe:/a:redhat:openshift:4.13::el8","status":"not_affected","packages":["openshift4/cloud-network-config-controller-rhel8","openshift4/driver-toolkit-rhel9","openshift4/egress-router-cni-rhel8","openshift4/kubevirt-csi-driver-rhel8","openshift4/network-tools-rhel8","openshift4/oc-mirror-plugin-rhel8","openshift4/openshift-route-controller-manager-rhel8","openshift4/ose-agent-installer-api-server-rhel8","openshift4/ose-agent-installer-csr-approver-rhel8","openshift4/ose-agent-installer-node-agent-rhel8","openshift4/ose-agent-installer-orchestrator-rhel8","openshift4/ose-alibaba-cloud-controller-manager-rhel8","openshift4/ose-alibaba-cloud-csi-driver-container-rhel8","openshift4/ose-alibaba-disk-csi-driver-operator-container-rhel8","openshift4/ose-alibaba-machine-controllers-rhel8","openshift4/ose-apiserver-network-proxy-rhel8","openshift4/ose-aws-cloud-controller-manager-rhel8","openshift4/ose-aws-cluster-api-controllers-rhel8","openshift4/ose-aws-ebs-csi-driver-rhel8","openshift4/ose-aws-ebs-csi-driver-rhel8-operator","openshift4/ose-aws-pod-identity-webhook-rhel8","openshift4/ose-azure-cloud-controller-manager-rhel8","openshift4/ose-azure-cloud-node-manager-rhel8","openshift4/ose-azure-cluster-api-controllers-rhel8","openshift4/ose-azure-disk-csi-driver-rhel8"],"package_count":180,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","cpe":"cpe:/a:redhat:openshift:4.14::el8","status":"fixed","packages":["openshift4/topology-aware-lifecycle-manager-rhel8-operator"],"package_count":1,"fixed":[],"advisories":["RHSA-2023:6143"],"provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","cpe":"cpe:/a:redhat:openshift:4.14::el8","status":"not_affected","packages":["openshift4/bare-metal-event-relay-operator-bundle","openshift4/bare-metal-event-relay-rhel8-operator","openshift4/baremetal-hardware-event-proxy-rhel8","openshift4/topology-aware-lifecycle-manager-operator-bundle","openshift4/topology-aware-lifecycle-manager-precache-rhel8","openshift4/topology-aware-lifecycle-manager-recovery-rhel8","openshift4/ztp-site-generate-rhel8"],"package_count":7,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform Assisted Installer 1","cpe":"cpe:/a:redhat:assisted_installer:1","status":"not_affected","packages":["rhai-tech-preview/assisted-installer-agent-rhel8","rhai-tech-preview/assisted-installer-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-30841"},{"vendor":"Red Hat","product":"Red Hat Openshift Data Foundation 4","cpe":"cpe:/a:redhat:openshift_data_foundation:4","status":"affected","packages":["odf4/odf-multicluster-rhel9-operator","odf4/odr-rhel8-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2023-30841"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-30841.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-30841"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2190116"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-30841"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30841"},{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/pull/1241"},{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-9wh7-397j-722m"}]}],"references":[{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/security/advisories/GHSA-9wh7-397j-722m"},{"type":"WEB","url":"https://github.com/metal3-io/baremetal-operator/pull/1241"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30841"},{"type":"PACKAGE","url":"https://github.com/metal3-io/baremetal-operator"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-30841.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-30841"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2190116"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-30841"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1362","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1362","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-12-10T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-30841","url":"https://www.cve.org/CVERecord?id=CVE-2023-30841","license":"CC-BY-4.0","modified_at":"2025-01-30T21:30:50.655Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2023-30841","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30841","relation":"self"},{"provider":"osv","source_id":"GHSA-9wh7-397j-722m","url":"https://osv.dev/vulnerability/GHSA-9wh7-397j-722m","license":"CC-BY-4.0","modified_at":"2023-11-08T04:12:27.263669Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-30841","url":"https://access.redhat.com/security/cve/CVE-2023-30841","license":"CC-BY-4.0","modified_at":"2023-10-26T16:29:55Z","relation":"self"}]}
