CVE-2021-3344 json
A privilege escalation flaw was found in OpenShift builder.
published 5y ago modified 4mo ago also EUVD-2021-26675
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- redhat openshift_builder 2021-01-26
- redhat openshift_container_platform 4.5.33, 4.6.16
Is CVE-2021-3344 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3344 updated cvss 8.8
openshift/builder: privilege escalation during container image builds via mounted secrets
-
Red Hat OpenShift Container Platform 4.5 openshift4/ose-ironic-rhel8 v4.5.0-202102200050.p0, openshift4/ose-docker-builder v4.5.0-202102200202.p0, openshift4/ose-ironic-inspector-rhel8 v4.5.0-202102200050.p0, openshift4/ose-ironic-ipa-downloader-rhel8 v4.5.0-202102200050.p0, openshift4/ose-ironic-static-ip-manager-rhel8 v4.5.0-202102200050.p0, openshift4/ose-ironic-machine-os-downloader-rhel8 v4.5.0-202102200050.p0, +1 morefixed: vendor fix RHSA-2021:0428
-
Red Hat OpenShift Container Platform 4.6 openshift4/ose-docker-builder v4.6.0-202101300140.p0fixed: vendor fix RHSA-2021:0308
-
Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 more Red Hat OpenShift Container Platform 4.5 openshift4/ose-cli v4.5.0-202102200202.p0, openshift4/ose-pod v4.5.0-202102200202.p0, openshift4/ose-etcd v4.5.0-202102200202.p0, openshift4/ose-tests v4.5.0-202102200202.p0, openshift4/ose-console v4.5.0-202102200202.p0, openshift4/ose-coredns v4.5.0-202102200202.p0, +69 more Red Hat OpenShift Container Platform 4.6 openshift4/ose-cli v4.6.0-202101301510.p0, openshift4/ose-pod v4.6.0-202101300140.p0, openshift4/ose-etcd v4.6.0-202101300140.p0, openshift4/ose-tests v4.6.0-202101301510.p0, openshift4/ose-console v4.6.0-202101300140.p0, openshift4/ose-coredns v4.6.0-202101300140.p0, +119 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected products
- n/a openshift/builder
Classification
- Weakness
-
- CWE-522 Insufficiently Protected Credentials
References
-
bugzilla.redhat.com
/show_bug.cgi?id=1921450
issue-tracking, patch, vendor-advisory
Sources
- CVE List CVE-2021-3344
- NVD CVE-2021-3344
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.