cve.bz

CVE-2021-20182 redhat openshift container platform

8.8 highEPSS 1.2%Fix available

High (8.8) in redhat openshift container platform. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
A privilege escalation flaw was found in openshift4/ose-docker-builder. The build container runs with high privileges using a chrooted environment instead of runc. If an attacker can gain access to this build container, they can potentially utilize the raw devices of the underlying node, such as the network and storage devices, to at least escalate their privileges to that of the cluster admin. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-552 Files or Directories Accessible to External Parties
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-20182 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20182?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20182?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20182 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshift_container_platformfrom 4.4 before 4.4.33
redhat:openshift_container_platformfrom 4.5 before 4.5.30
redhat:openshift_container_platformfrom 4.6 before 4.6.15

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

The affected build strategies include docker, source and custom builds, hence these can be disabled as per the documentation[1]. This does however, exclude the Jenkins build strategy as it is not affected and does not have to be disabled.

[1] https://docs.openshift.com/container-platform/4.6/builds/securing-builds-by-strategy.html

On clusters where builds are allowed only grant permissions to perform builds to users who you wish to be to able to view, modify and edit all cluster resources.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.4openshift4/ose-aws-machine-controllers:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-azure-machine-controllers:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-baremetal-machine-controllers:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-baremetal-rhel7-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cli:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cli-artifacts:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cloud-credential-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-authentication-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-autoscaler:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-autoscaler-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-bootstrap:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-config-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-dns-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-image-registry-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-ingress-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-kube-apiserver-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-kube-controller-manager-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-kube-scheduler-operator:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 4.4openshift4/ose-cluster-machine-approver:v4.4.0-202101261542.p0Fixed 2021-02-03RHSA-2021:0281
Red Hat OpenShift Container Platform 3.11atomic-openshiftNot affected
190 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20182.

Attack patterns (CAPEC)

  • CAPEC-150 Collect Data from Common Resource Locations Severity: Medium
  • CAPEC-639 Probe System Files Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON