# CVE-2021-3344: A privilege escalation flaw was found in OpenShift builder.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.17%, higher than 68% of CVEs (2026-12-02)
- Published: 2021-03-16T21:09:45.000Z
- Modified: 2026-06-17T04:04:58.403Z
- Weaknesses: CWE-522
- Assigned by: 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.

(As written by CVE List.)

## Affected

- openshift/builder: before github.com/openshift/builder v0.0.0-20210125201112-7901cb396121
- redhat openshift_builder: before 2021-01-26
- redhat openshift_container_platform: from 4.5 before 4.5.33; from 4.6 before 4.6.16

## Every score

- NVD: 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`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1921450> (issue-tracking, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-3344](https://www.cve.org/CVERecord?id=CVE-2021-3344), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3344](https://nvd.nist.gov/vuln/detail/CVE-2021-3344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3344 · Whole record: https://cve.day/CVE-2021-3344.json · Rebuilt by cve.day 2026-11-25T22:58:00.309Z
