Bug 1915110 (CVE-2021-20182)
Summary: | CVE-2021-20182 openshift: builder allows read and write of block devices | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jason Shepherd <jshepherd> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | adam.kaplan, aos-bugs, bmontgom, bparees, ddelcian, dramseur, eparis, jburrell, jhunter, jminter, jokerman, kmitts, mcooper, mgala, mjudeiki, nstielau, security-response-team, sponnaga |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | github.com/openshift/builder v0.0.0-20210118193943-6d10f5202a76 | Doc Type: | If docs needed, set a value |
Doc Text: |
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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-03 14:41:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1915136, 1915137, 1915138, 1915139, 1916815, 1916816 | ||
Bug Blocks: | 1914946 |
Description
Jason Shepherd
2021-01-12 01:20:37 UTC
Acknowledgments: Name: Philippe Suzzoni (Bell Canada) Upstream Commit: https://github.com/openshift/builder/pull/202 Builds in OCP 3.11 use a different method to that in OCP 4.x and therefore don't expose this vulnerability. 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. Used fixcvenames on OCP 4.6 tracker as this got released: https://access.redhat.com/errata/RHBA-2021:0235 Used fixcvenames on OCP 4.5 tracker as this got released: https://access.redhat.com/errata/RHBA-2021:0231 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.4 Via RHSA-2021:0281 https://access.redhat.com/errata/RHSA-2021:0281 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-20182 |