Skip to content

Ironic and ironic-inspector may expose as ConfigMaps

Moderate severity GitHub Reviewed Published Apr 26, 2023 in metal3-io/baremetal-operator • Updated Nov 7, 2023

Package

gomod github.com/metal3-io/baremetal-operator (Go)

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

@tuminoid tuminoid published to metal3-io/baremetal-operator Apr 26, 2023
Published by the National Vulnerability Database Apr 26, 2023
Published to the GitHub Advisory Database Apr 26, 2023
Reviewed Apr 26, 2023
Last updated Nov 7, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N

EPSS score

0.043%
(10th percentile)

CVE ID

CVE-2023-30841

GHSA ID

GHSA-9wh7-397j-722m
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.