Vulnerability · Published Apr 1, 2022 · Assigned by redhat
CVE-2021-20238
Low 3.7
In plain English
A low-severity improper authentication in openshift/machine-config-operator. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
Official description
It was found in OpenShift Container Platform 4 that ignition config, served by the Machine Config Server, can be accessed externally from clusters without authentication. The MCS endpoint (port 22623) provides ignition configuration used for bootstrapping Nodes and can include some sensitive data, e.g. registry pull secrets. There are two scenarios where this data can be accessed. The first is on Baremetal, OpenStack, Ovirt, Vsphere and KubeVirt deployments which do not have a separate internal API endpoint and allow access from outside the cluster to port 22623 from the standard OpenShift API Virtual IP address. The second is on cloud deployments when using unsupported network plugins, which do not create iptables rules that prevent to port 22623. In this scenario, the ignition config is exposed to all pods within the cluster and cannot be accessed externally.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | openshift/machine-config-operator | affecting versions up to, including ose-machine-config-operator-container-v4.9.0 |
Weakness: CWE-287
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1926568 x_refsource_MISC