cve.bz

CVE-2021-3344 redhat: Insufficiently Protected Credentials

8.8 highEPSS 1.2%Fix available

High (8.8) in redhat. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3344 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3344?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3344?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3344 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshift_builderbefore 2021-01-26
redhat:openshift_container_platformfrom 4.5 before 4.5.33
redhat:openshift_container_platformfrom 4.6 before 4.6.16

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

The affected build strategies include docker, source and custom builds, hence these can be disabled as per the documentation[1]. This does however, exclude the Jenkins build strategy as it is not affected and does not have to be disabled.

[1] https://docs.openshift.com/container-platform/4.6/builds/securing-builds-by-strategy.html

On clusters where builds are allowed only grant permissions to perform builds to users who you wish to be to able to view, modify and edit all cluster resources.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.5openshift4/ose-docker-builder:v4.5.0-202102200202.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.5openshift4/ose-ironic-hardware-inventory-recorder-rhel8:v4.5.0-202102200050.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.5openshift4/ose-ironic-inspector-rhel8:v4.5.0-202102200050.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.5openshift4/ose-ironic-ipa-downloader-rhel8:v4.5.0-202102200050.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.5openshift4/ose-ironic-machine-os-downloader-rhel8:v4.5.0-202102200050.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.5openshift4/ose-ironic-rhel8:v4.5.0-202102200050.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.5openshift4/ose-ironic-static-ip-manager-rhel8:v4.5.0-202102200050.p0Fixed 2021-03-03RHSA-2021:0428
Red Hat OpenShift Container Platform 4.6openshift4/ose-docker-builder:v4.6.0-202101300140.p0Fixed 2021-02-08RHSA-2021:0308
Red Hat OpenShift Container Platform 3.11atomic-openshiftNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3344.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13).

References

Check your stackJSON