Information Exposure Affecting buildah-tests package, versions <0:1.22.3-2.module+el8.5.0+12582+56d94c81
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-BUILDAHTESTS-2128915
- published 26 Jul 2021
- disclosed 15 Jul 2021
Introduced: 15 Jul 2021
CVE-2021-3602 Open this link in a new tabHow to fix?
Upgrade Centos:8
buildah-tests
to version 0:1.22.3-2.module+el8.5.0+12582+56d94c81 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream buildah-tests
package and not the buildah-tests
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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
- https://access.redhat.com/security/cve/CVE-2021-3602
- https://access.redhat.com/errata/RHSA-2021:4154
- https://bugzilla.redhat.com/show_bug.cgi?id=1969264
- https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
- https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
- https://ubuntu.com/security/CVE-2021-3602