CVE-2021-3344 Details
Description
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.
A privilege escalation vulnerability has been identified in OpenShift Builder, specifically in versions prior to 0.0.0-20210125201112-7901cb396121. During the build process, credentials from outside the build context are automatically mounted into the container image being created. An OpenShift user who can execute code inside the build container may exploit this by using the mounted credentials to overwrite arbitrary container images in internal registries, potentially escalating privileges in the process. This vulnerability poses a significant threat to data confidentiality, integrity, and system availability.
Users can upgrade to OpenShift Builder version 0.0.0-20210125201112-7901cb396121 or later. For Red Hat OpenShift Container Platform users, this vulnerability has been addressed in versions 4.5 and 4.6.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1921450 | CVE | Issue TrackingPatchVendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1921450 | [email protected] | Issue TrackingPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat openshift builder | < 2021-01-26 |
CPE
Remediation
| |
| redhat openshift container platform | >= 4.5, < 4.5.33 >= 4.6, < 4.6.16 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 3, 2021 | Reanalysis | [email protected] |
| Mar 22, 2021 | Initial Analysis | [email protected] |