All reports
Medium

Ironic Standalone Operator's controller modifies user-owned resources without consent

Affected versions

Version ranges need review.

Affected versions
<= 0.7.2
Fixed version
0.7.3
Affected versions
>= 0.8.0, <= 0.8.1
Fixed version
0.8.2
Affected versions
<0.7.3 || >=0.8.0 <0.8.2
Fixed version
0.7.3 · 0.8.2

Description

Impact

The Ironic Standalone Operator (IRSO) is the operator to maintain an Ironic deployment for Metal3. IRSO controller automatically adds its environment label to user-provided Secrets and ConfigMaps without the resource owner's consent. A high-privilege controller modifying user-owned resources constitutes an unauthorized integrity violation. Deployments running IrSO v0.7.0 through v0.8.1 that reference user-provided Secrets or ConfigMaps (TLS certificates, BMC CA, trusted CA) are affected.

Patches

Fixed in v0.9.0, v0.8.2, v0.7.3.

Workarounds

Manually add the environment label (ironic-standalone-operator.metal3.io/environment) to all user-provided Secrets and ConfigMaps before they are referenced in the Ironic resource. This prevents the controller from modifying them.

Resources

Links