ID CVE-2021-3602
Summary 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).
References
Vulnerable Configurations
  • cpe:2.3:a:buildah_project:buildah:1.21.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.21.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.21.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.21.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.21.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.21.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.4:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.4:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.6:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.6:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.7:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.7:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.19.8:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.19.8:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.17.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.17.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.17.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.17.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:-:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:-:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.4:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.5:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.6:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.7:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.8:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.9:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.10:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.11:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.12:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.14:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.15:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:0.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:0.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.4:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.5:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.6:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.7:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.8.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.8.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.8.4:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.8.4:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.9.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.9.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.9.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.9.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.10.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.10.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.4:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.4:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.5:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.5:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.11.6:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.11.6:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.12.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.13.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.13.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.13.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.13.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.13.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.5:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.5:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.6:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.6:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.7:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.7:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.8:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.8:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.9:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.9:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.10:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.10:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.14.11:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.14.11:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.15.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.15.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.15.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.15.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.15.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.0:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.0:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.1:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.1:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.2:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.2:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.3:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.3:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.4:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.4:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.5:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.5:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.6:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.6:*:*:*:*:*:*:*
  • cpe:2.3:a:buildah_project:buildah:1.16.7:*:*:*:*:*:*:*
    cpe:2.3:a:buildah_project:buildah:1.16.7:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
    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:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
CVSS
Base: 1.9 (as of 24-10-2022 - 14:22)
Impact:
Exploitability:
CWE CWE-212
CAPEC
  • Windows ::DATA Alternate Data Stream
    An attacker exploits the functionality of Microsoft NTFS Alternate Data Streams (ADS) to undermine system security. ADS allows multiple "files" to be stored in one directory entry referenced as filename:streamname. One or more alternate data streams may be stored in any file or directory. Normal Microsoft utilities do not show the presence of an ADS stream attached to a file. The additional space for the ADS is not recorded in the displayed file size. The additional space for ADS is accounted for in the used space on the volume. An ADS can be any type of file. ADS are copied by standard Microsoft utilities between NTFS volumes. ADS can be used by an attacker or intruder to hide tools, scripts, and data from detection by normal system utilities. Many anti-virus programs do not check for or scan ADS. Windows Vista does have a switch (-R) on the command line DIR command that will display alternate streams.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:N/A:N
Last major update 24-10-2022 - 14:22
Published 03-03-2022 - 19:15
Last modified 24-10-2022 - 14:22
Back to Top