CVE-2021-20238

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.
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1926568 Issue Tracking Mitigation Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_machine-config-operator:*:*:*:*:*:*:*:*

History

26 Jun 2023, 18:00

Type Values Removed Values Added
CWE CWE-287 CWE-306

12 Apr 2022, 17:34

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 3.7
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1926568 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1926568 - Issue Tracking, Mitigation, Vendor Advisory
CPE cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_machine-config-operator:*:*:*:*:*:*:*:*
CWE CWE-287
First Time Redhat openshift Machine-config-operator
Redhat openshift Container Platform
Redhat

01 Apr 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-01 23:15

Updated : 2023-12-10 14:22


NVD link : CVE-2021-20238

Mitre link : CVE-2021-20238

CVE.ORG link : CVE-2021-20238


JSON object : View

Products Affected

redhat

  • openshift_machine-config-operator
  • openshift_container_platform
CWE
CWE-306

Missing Authentication for Critical Function

CWE-287

Improper Authentication