CVE-2021-3602

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3602
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3602.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3602
Aliases
Downstream
Related
Published
2022-03-03T19:15:08Z
Modified
2025-10-15T13:06:21.478111Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/containers/buildah

Affected ranges

Type
GIT
Repo
https://github.com/containers/buildah
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.4

v0.*

v0.1
v0.10
v0.12
v0.15
v0.2
v0.3
v0.4
v0.5
v0.6
v0.7
v0.8

v1.*

v1.1
v1.10.0
v1.10.1
v1.11.0
v1.11.1
v1.11.2
v1.11.3
v1.11.4
v1.11.5
v1.11.6
v1.12.0
v1.13.2
v1.14.0
v1.14.1
v1.14.2
v1.14.3
v1.14.4
v1.14.5
v1.14.6
v1.14.7
v1.14.8
v1.15.0
v1.16.0
v1.17.0
v1.18.0
v1.19.0
v1.19.1
v1.20.0
v1.20.1
v1.21.0
v1.3
v1.4
v1.5
v1.6
v1.7
v1.7.1
v1.7.2
v1.7.3
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.9.0
v1.9.1
v1.9.2