Insufficiently protected credentials in openshift/builder
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-522.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | openshift/builder | before github.com/openshift/builder v0.0.0-20210125201112-7901cb396121 | — | No fix listed | CNA |
- openshift/builder Vendor— Affected before github.com/openshift/builder v0.0.0-20210125201112-7901cb396121 Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2021:0428 Released 2021-03-03 · Red Hat rating ImportantOpenShift Container Platform 4.5.33 bug fix and security update
- Red Hat OpenShift Container Platform 4.5 openshift4/ose-docker-builder, openshift4/ose-ironic-hardware-inventory-recorder-rhel8, openshift4/ose-ironic-inspector-rhel8 +4
- RHSA-2021:0308 Released 2021-02-08 · Red Hat rating ImportantOpenShift Container Platform 4.6.16 security and bug fix update
- Red Hat OpenShift Container Platform 4.6 openshift4/ose-docker-builder, openshift4/ose-etcd, openshift4/ose-installer
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Container Platform 4.5 | Fixed | RHSA-2021:0428 |
| Red Hat OpenShift Container Platform 4.6 | Fixed | RHSA-2021:0308 |
Not affected: 3 products
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4.5
- Red Hat OpenShift Container Platform 4.6
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3344
References
Sources
- CVE-2021-3344 · CVE Program
- CVE-2021-3344 · NVD
- FIRST EPSS
- CVE-2021-3344 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences