CVE-2021-3344 in Redhat Openshift Container Platform and 1 more product
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...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Openshift Container Platform | ≥ 4.5, < 4.5.33 ≥ 4.6, < 4.6.16 |
| Redhat | Openshift Builder | < 2021-01-26 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-3344 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-080679-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-03-16 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-522: CWE-522
Related attack patterns (CAPEC)
CAPEC-102 Session Sidejacking via CWE-522
CAPEC-474 Signature Spoofing by Key Theft via CWE-522
CAPEC-509 Kerberoasting via CWE-522
CAPEC-551 Modify Existing Service via CWE-522
CAPEC-561 Windows Admin Shares with Stolen Credentials via CWE-522
Show all 13
CAPEC-644 Use of Captured Hashes (Pass The Hash) via CWE-522
CAPEC-645 Use of Captured Tickets (Pass The Ticket) via CWE-522
CAPEC-50 Password Recovery Exploitation via CWE-522
CAPEC-555 Remote Services with Stolen Credentials via CWE-522
CAPEC-600 Credential Stuffing via CWE-522
CAPEC-652 Use of Known Kerberos Credentials via CWE-522
CAPEC-653 Use of Known Operating System Credentials via CWE-522
CAPEC-560 Use of Known Domain Credentials via CWE-522
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A privilege escalation flaw in OpenShift builder allows users to access and reuse credentials during build time, potentially overwriting container images and escalating privileges.
During the build process in OpenShift, credentials are automatically mounted into the container image. An attacker with the ability to execute code during this process can misuse these credentials to overwrite container images in internal registries or escalate their privileges.
Questions
What is CVE-2021-3344?
A privilege escalation flaw in OpenShift builder allows users to access and reuse credentials during build time, potentially overwriting container images and escalating privileges.
What is the CVSS score for CVE-2021-3344?
CVE-2021-3344 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.2%.
Is CVE-2021-3344 actively exploited?
No confirmed active exploitation of CVE-2021-3344 as of 2026-05-30.
How do I remediate CVE-2021-3344?
Priority: IMMEDIATE. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1921450 PSIRT: [email protected]
What systems are affected by CVE-2021-3344?
CVE-2021-3344 affects Redhat Openshift Container Platform, Openshift Builder.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Openshift Container Platform","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.