CVE-2021-3602
CVE-2021-3602
CVSS 5.5 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- buildahNo fix published
- buildah Alpine 3.14Update to 1.21.3-r0
- buildah Alpine 3.15Update to 1.21.3-r0
- buildah Alpine 3.16Update to 1.21.3-r0
- and 20 more
Check the installed version:
apk list -I -o buildahAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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).
- Published
- Updated
Fixes in distributions
- RHSA-2021:4154 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2021:4222 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2021:4221 · Red Hat Enterprise Linux 8 appstream ·
- openSUSE-SU-2024:11757-1 · openSUSE Tumbleweed ·
- SUSE-SU-2022:3312-1 · SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
- openSUSE-SU-2022:23018-1 · openSUSE Leap 15.3 ·
- SUSE-SU-2022:23018-1 · SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Containers 15 SP3 ·
- ALSA-2021:4222 · AlmaLinux 8 ·
- RLSA-2021:4222 · Rocky Linux 8 ·
- ALSA-2021:4221 · AlmaLinux 8 ·
- RLSA-2021:4221 · Rocky Linux 8 ·
- ALSA-2021:4154 · AlmaLinux 8 ·
- RLSA-2021:4154 · Rocky Linux 8 ·
Stack: system
Affected products and versions
buildah
- Versions
- Affects v1.21.2, v1.20.0, v1.19.8, v1.18.0, v1.17.1, v1.16.7, Fixed in v1.21.3, v1.19.9, v1.17.2, v1.16.8, v1.22.0 and above.: Affected
No fix published
buildah Alpine 3.14
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.15
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.16
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.17
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.18
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.19
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.20
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.21
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.22
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.23
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
buildah Alpine 3.24
- Affected ranges
- ECOSYSTEM: ≥ 1.21.0, < 1.21.3-r0
Update to 1.21.3-r0
podman Alpine 3.14
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.15
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.16
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
podman Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 3.2.3-r0
Update to 3.2.3-r0
golang-github-containers-buildah Debian 12
- Affected ranges
- ECOSYSTEM: < 1.22.3+ds1-1
Update to 1.22.3+ds1-1
Original sources
- https://bugzilla.redhat.com/show_bug.cgi?id=1969264
- https://ubuntu.com/security/CVE-2021-3602
- https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
- https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
- https://nvd.nist.gov/vuln/detail/CVE-2021-3602