CVE-2021-3344: High severity redhat Openshift Builder vulnerability

Published Jan 28, 2021
·
Updated

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.

Other sources

In OpenShift Container Platform 4, a privilege escalation path exists in Builds via the re-use of credentials mounted into /run/secrets. An OpenShift user able to execute code in a build container can re-use the credentials to overwrite arbitrary container images in internal registries and potentially execute arbitrary code.

Red Hat

Affected Software

4 affected componentsFixes available
redhat/github.com/openshift/builder v0.0.0-20210125201112<7901
7901
redhat Openshift Builder<2021-01-26
redhat OpenShift Container Platform>=4.5<4.5.33
redhat OpenShift Container Platform>=4.6<4.6.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/github.com/openshift/builder v0.0.0-20210125201112 to a version that resolves this vulnerability.

    Fixed in 7901
  2. Configuration

    Disable OpenShift build strategies: docker, source, and custom builds (per OpenShift documentation referenced in the material). Do NOT disable Jenkins build strategy, as it is explicitly stated as not affected.

    OpenShift Builds (strategy: docker, source, custom) build strategy enabled/disabled = disabled
  3. Compensating control

    On clusters where builds are allowed, grant build permissions only to users you wish to be able to view/modify/edit all cluster resources (limit who can perform builds).

Event History

Feb 8, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 16, 2021
CVE Published
via MITRE·09:09 PM
Data Sourced
via MITRE·09:09 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-3344?

CVE-2021-3344 is classified as a high severity privilege escalation vulnerability.

2

How do I fix CVE-2021-3344?

To fix CVE-2021-3344, update to OpenShift builder version 7901 or later.

3

Who is affected by CVE-2021-3344?

CVE-2021-3344 affects users of OpenShift builder versions prior to 7901 and OpenShift Container Platform versions 4.5.33 and 4.6.16.

4

What are the implications of CVE-2021-3344?

The implications of CVE-2021-3344 include the potential for unauthorized access to sensitive credentials during container image builds.

5

When was CVE-2021-3344 discovered?

CVE-2021-3344 was reported in January 2021.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203