What’s Vulnerable › Vulnerabilities
CVE-2021-3344
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-16 · updated 2026-06-17
- Weakness: CWE-522
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.
Affected products
- RedHat Openshift Builder: before 2021-01-26 — fixed in 2021-01-26
- Red Hat OpenShift Container Platform 4.18: from 4.5 before 4.5.33; from 4.6 before 4.6.16 — fixed in 4.5.33, 4.6.16
How to fix
Upgrade to a fixed version: RedHat Openshift Builder 2021-01-26; Red Hat OpenShift Container Platform 4.18 4.5.33, 4.6.16. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1921450
- https://bugzilla.redhat.com/show_bug.cgi?id=1921450
Get alerted when CVE-2021-3344 or the next vulnerability affects your stack