cbcvebase.
CVE-2021-3602
published 2022-03-03

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…

PriorityP425medium5.5CVSS 3.1
AVLACLPRLUINSUCHINAN
EPSS
0.33%
24.5th percentile
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).

Affected

18 ranges
VendorProductVersion rangeFixed in
buildah_projectbuildah< 1.16.81.16.8
buildah_projectbuildah——
buildah_projectbuildah>= 1.17.0 < 1.17.21.17.2
buildah_projectbuildah>= 1.19.0 < 1.19.91.19.9
buildah_projectbuildah>= 1.21.0 < 1.21.31.21.3
debiangolang-github-containers-buildah< golang-github-containers-buildah 1.22.3+ds1-1 (bookworm)golang-github-containers-buildah 1.22.3+ds1-1 (bookworm)
github.comcontainers_buildah>= 0 < 1.16.81.16.8
github.comcontainers_buildah>= 0 < 1.22.01.22.0
github.comcontainers_buildah>= 1.17.0 < 1.17.21.17.2
github.comcontainers_buildah>= 1.18.0 < 1.19.91.19.9
github.comcontainers_buildah>= 1.20.0 < 1.21.31.21.3
msrccbl2_cri-o_1.21.7-2_on_cbl_mariner_2.0——
msrccbl2_cri-o_1.21.7-3_on_cbl_mariner_2.0——
msrccbl_mariner_2.0_arm——
msrccbl_mariner_2.0_x64——
redhatenterprise_linux——
redhatenterprise_linux_for_ibm_z_systems——
redhatenterprise_linux_for_power_little_endian——

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.01.9LOWAV:L/AC:M/Au:N/C:P/I:N/A:N
ghsa5.5MEDIUM
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.