CVE-2021-3344
publishedopenshift/builder: privilege escalation during container image builds via mounted secrets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | openshift/builderbefore github.com/openshift/builder v0.0.0-20210125201112-7901cb396121 | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | openshift/builder | before github.com/openshift/builder v0.0.0-20210125201112-7901cb396121 (affected) | redhat · cna |
Weaknesses
1- CWE-522
References
1Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 442af4b013f3e1ba01814c3826be3ac3d1f44b0b66ae7b5eb52a858a8e76ea96
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record