CVE-2021-20238
Last modified
CVE-2021-20238 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. 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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Openshift Container Platform | 4.0 |
| Redhat | Openshift Machine-Config-Operator | <= 4.9.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1926568Issue Tracking, Mitigation, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1926568Issue Tracking, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20238?
How severe is CVE-2021-20238?
How do I fix CVE-2021-20238?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20232A flaw was found in gnutls. A use after free issue in client…9.8
- CVE-2021-20233A flaw was found in grub2 in versions prior to 2.06. Setpara…8.2
- CVE-2021-20234An uncontrolled resource consumption (memory leak) flaw was …6.5
- CVE-2021-20235There's a flaw in the zeromq server in versions before 4.3.3…8.1
- CVE-2021-20236A flaw was found in the ZeroMQ server in versions before 4.3…9.8
- CVE-2021-20237An uncontrolled resource consumption (memory leak) flaw was …7.5
- CVE-2021-20239A flaw was found in the Linux kernel in versions before 5.4.…3.3
- CVE-2021-2024Vulnerability in the MySQL Server product of Oracle MySQL (c…6.5
- CVE-2021-20240A flaw was found in gdk-pixbuf in versions before 2.42.0. An…8.8
- CVE-2021-20241A flaw was found in ImageMagick in coders/jp2.c. An attacker…5.5
- CVE-2021-20242Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-20243A flaw was found in ImageMagick in MagickCore/resize.c. An a…5.5
Are you affected by CVE-2021-20238?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
