CVE-2021-3344
CVE-2021-3344 openshift/builder: privilege escalation during container image builds via mounted secrets
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Se encontró un fallo de escalada de privilegios en el compilador de OpenShift. Durante el tiempo de compilación, las credenciales fuera del contexto de compilación se montan automáticamente en la imagen del contenedor en construcción. Un usuario de OpenShift, capaz de ejecutar código durante el tiempo de compilación dentro de este contenedor, puede reutilizar las credenciales para sobrescribir imágenes de contenedor arbitrarias en registros internos y/o escalar sus privilegios. La mayor amenaza de esta vulnerabilidad es la confidencialidad e integridad de los datos, así como la disponibilidad del sistema. Esto afecta a github.com/openshift/builder versiones v0.0.0-20210125201112-7901cb396121 y anteriores
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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-01-29 CVE Reserved
- 2021-02-08 CVE Published
- 2024-08-03 CVE Updated
- 2024-08-03 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-522: Insufficiently Protected Credentials
CAPEC
References (2)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1921450 | 2021-03-03 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2021-3344 | 2021-03-03 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Redhat Search vendor "Redhat" | Openshift Builder Search vendor "Redhat" for product "Openshift Builder" | < 2021-01-26 Search vendor "Redhat" for product "Openshift Builder" and version " < 2021-01-26" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Openshift Container Platform Search vendor "Redhat" for product "Openshift Container Platform" | >= 4.5 < 4.5.33 Search vendor "Redhat" for product "Openshift Container Platform" and version " >= 4.5 < 4.5.33" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Openshift Container Platform Search vendor "Redhat" for product "Openshift Container Platform" | >= 4.6 < 4.6.16 Search vendor "Redhat" for product "Openshift Container Platform" and version " >= 4.6 < 4.6.16" | - |
Affected
|