Skip to content

Ironic and ironic-inspector may expose htpasswd files as ConfigMaps

Moderate
tuminoid published GHSA-9wh7-397j-722m Apr 26, 2023

Package

baremetal-operator

Affected versions

< 0.3.0

Patched versions

0.3.0

Description

Impact

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.

Patches

This issue is patched in baremetal-operator PR#1241, and is included in BMO release 0.3.0 onwards.

Workarounds

User may modify the kustomizations and redeploy the BMO, or recreate the required ConfigMaps as Secrets per instructions in baremetal-operator PR#1241

References

baremetal-operator PR#1241

Severity

Moderate
6.0
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N

CVE ID

CVE-2023-30841

Weaknesses