CVE-2021-20238
JSON

3.7low

It was found in OpenShift Container Platform 4 that ignition config, served by the Machine Config Server, can be accessed externally from c…

Severity
3.7low CVSS:3.1 by NVD
Exploit likelihood
0.77% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
openshift/machine-config-operatoraffecting versions up to, including ose-machine-config-operator-container-v4.9.0CVE List
redhat openshift_container_platform4.0NVD
redhat openshift_machine-config-operatorup to 4.9.0NVD

All scores

NVD3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Se ha encontrado en OpenShift Container Platform 4 que la configuración de encendido, servida por el Machine Config Server, puede ser accedida externamente desde los clusters sin autenticación. El endpoint del MCS (puerto 22623) proporciona la configuración de ignición usada para el arranque de los nodos y puede incluir algunos datos confidenciales, por ejemplo, secretos de extracción del registro. Se presentan dos escenarios en los que puede accederse a estos datos. El primero es en los despliegues de Baremetal, OpenStack, Ovirt, Vsphere y KubeVirt que no presentan un endpoint de API interno separado y permiten el acceso desde fuera del clúster al puerto 22623 desde la dirección IP virtual de la API estándar de OpenShift. La segunda es en los despliegues en la nube cuando son usados plugins de red no soportados, que no crean reglas iptables que impidan al puerto 22623. En este escenario, la configuración de encendido está expuesta a todos los pods dentro del clúster y no puede accederse externamente

References

https://bugzilla.redhat.com/show_bug.cgi?id=1926568issue-tracking, mitigation, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-20238 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-20238 changed 2026-06-17Public domain