CVE Vulnerabilities

CVE-2021-3344

Insufficiently Protected Credentials

Published: Mar 16, 2021 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
8.8 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu

A privilege escalation flaw was found in OpenShift builder. During build time, credentials outside the build context are automatically mounted into the container image under construction. An OpenShift user, able to execute code during build time inside this container can re-use the credentials to overwrite arbitrary container images in internal registries and/or escalate their privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. This affects github.com/openshift/builder v0.0.0-20210125201112-7901cb396121 and before.

Weakness

The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

Affected Software

Name Vendor Start Version End Version
Openshift_builder Redhat * 2021-01-26 (excluding)
Openshift_container_platform Redhat 4.5 (including) 4.5.33 (excluding)
Openshift_container_platform Redhat 4.6 (including) 4.6.16 (excluding)
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-docker-builder:v4.5.0-202102200202.p0 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-ironic-hardware-inventory-recorder-rhel8:v4.5.0-202102200050.p0 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-ironic-inspector-rhel8:v4.5.0-202102200050.p0 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-ironic-ipa-downloader-rhel8:v4.5.0-202102200050.p0 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-ironic-machine-os-downloader-rhel8:v4.5.0-202102200050.p0 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-ironic-rhel8:v4.5.0-202102200050.p0 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift4/ose-ironic-static-ip-manager-rhel8:v4.5.0-202102200050.p0 *
Red Hat OpenShift Container Platform 4.6 RedHat openshift4/ose-docker-builder:v4.6.0-202101300140.p0 *

Potential Mitigations

References