CVE-2021-3602

An information disclosure flaw was found in Buildah, when building containers using chroot isolation. Running processes in container builds (e.g. Dockerfile RUN commands) can access environment variables from parent and grandparent processes. When run in a container in a CI/CD environment, environment variables may include sensitive information that was shared with the container in order to be used only by Buildah itself (e.g. container registry credentials).
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*

History

24 Oct 2022, 14:22

Type Values Removed Values Added
CWE CWE-200 CWE-212

10 Mar 2022, 15:25

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 1.9
v3 : 5.5
CPE cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
CWE CWE-200
References (MISC) https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 - (MISC) https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 - Patch, Third Party Advisory
References (MISC) https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj - (MISC) https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj - Third Party Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1969264 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1969264 - Issue Tracking, Patch, Third Party Advisory
References (MISC) https://ubuntu.com/security/CVE-2021-3602 - (MISC) https://ubuntu.com/security/CVE-2021-3602 - Patch, Third Party Advisory

03 Mar 2022, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-03-03 19:15

Updated : 2024-02-04 22:29


NVD link : CVE-2021-3602

Mitre link : CVE-2021-3602

CVE.ORG link : CVE-2021-3602


JSON object : View

Products Affected

redhat

  • enterprise_linux_for_ibm_z_systems
  • enterprise_linux
  • enterprise_linux_for_power_little_endian

buildah_project

  • buildah
CWE
CWE-212

Improper Removal of Sensitive Information Before Storage or Transfer

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor