Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-3602

21
FAUCET Score

CVE-2021-3602 is an information disclosure vulnerability in Buildah, affecting various Buildah and Red Hat Enterprise Linux products. When building containers with chroot isolation, running processes within the container can access sensitive environment variables from parent processes, potentially exposing credentials in CI/CD environments. Rated Medium (CVSS 5.5), this local attack requires low privileges and has a high confidentiality impact. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.16.8CPE matchmatch criteria
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
>= 1.17.0, < 1.17.2CPE matchmatch criteria
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
>= 1.19.0, < 1.19.9CPE matchmatch criteria
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
>= 1.21.0, < 1.21.3CPE matchmatch criteria
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
8.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.5MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
1.8
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.33%
Probability of exploitation in next 30 days
EPSS Percentile
25.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0033 is in the 82nd percentile among its peer group of 15,940 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (20)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/containers/buildahFixed in: 1.21.3
gopatch availablevia ghsa
Product: github.com/containers/buildahFixed in: 1.16.8
gopatch availablevia ghsa
Product: github.com/containers/buildahFixed in: 1.17.2
gopatch availablevia ghsa
Product: github.com/containers/buildahFixed in: 1.19.9
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 1.21.7-2
microsoftpatch availablevia msrc
Product: 17367-16823Fixed in: 1.21.7-2
microsoftpatch availablevia msrc
Product: 19839-17086Fixed in: 1.21.7-2
microsoftpatch availablevia msrc
Product: cbl2 cri-o 1.21.7-2 on CBL Mariner 2.0Fixed in: 1.21.7-2
microsoftpatch availablevia msrc
Product: cbl2 cri-o 1.21.7-3 on CBL Mariner 2.0Fixed in: 1.21.7-2
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 1.21.7-2
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: container-tools:2.0-8050020210817115648.faa19cc5
View patch
redhatpatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: container-tools:rhel8-8050020210921082437.faa19cc5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: container-tools:3.0-8050020210915114620.faa19cc5
View patch
ubuntupatch availablevia nvd_reference
View patch
redhatend of lifevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-builder-rhel8
redhatend of lifevia redhat_api
Product: Red Hat OpenShift Container Platform 3.11Fixed in: podman
redhatend of lifevia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: buildah
redhatend of lifevia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: podman

Vendor Advisories (4)

microsoft2024-Apr/CVE-2021-3602

CVE-2021-3602

Apr 9, 2024
microsoft2022-Mar/CVE-2021-3602Moderate

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).

Mar 8, 2022
goGHSA-7638-r9r3-rmjjmedium

Buildah processes using chroot isolation may leak environment values to intermediate processes

Jul 19, 2021
redhatCVE-2021-3602Moderate

buildah: Host environment variables leaked in build container when using chroot isolation

Jul 15, 2021

References

bugzilla.redhat.com / show_bug.cgi
Issue TrackingPatchThird Party Advisory
github.com / containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
PatchThird Party Advisory
github.com / containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
Third Party Advisory
ubuntu.com / security/CVE-2021-3602
PatchThird Party Advisory