CVE-2021-3602
CVE-2021-3602 is an info disclosure in Buildah (CVSS 5.5, Medium).
No known exploitation. EPSS puts it in the 17th percentile. Fixed in 1.16.8.
No public exploit knownFix1.16.8Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.854543
What to do
Find your product and version, then upgrade to the build on the right.
- N/a BuildahAffected: Affects v1.21.2, v1.20.0, v1.19.8, v1.18.0, v1.17.1, v1.16.7, Fixed in…Upgrade to: not statedStated by: CVE record
- Go github.com/containers/buildahAffected: < 1.16.8Upgrade to: 1.16.8Stated by: GitHub advisory
- Buildah Project BuildahAffected: < 1.16.8Upgrade to: 1.16.8Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
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).
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.3% chance of exploitation activity in the next 30 days, which ranks it in the 17th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 1575 days, from the signal feeds we watch.
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Scored 5.5 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity NoneNo integrity impact
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- bugzilla.redhat.com/show_bug.cgi?id=1969264
- ubuntu.com/security/CVE-2021-3602
- github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
And 4 more references. See all after sign-in
Questions about CVE-2021-3602
- Is CVE-2021-3602 being exploited?
- No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 0.3%.
- Which versions are affected by CVE-2021-3602?
- Buildah: Affects v1.21.2, v1.20.0, v1.19.8, v1.18.0, v1.17.1, v1.16.7, Fixed in…. Github.com/containers/buildah: < 1.16.8. Buildah: < 1.16.8.
- How do I fix or mitigate CVE-2021-3602?
- Upgrade to 1.16.8 or later. The advisory is on github.com.
Last updated
Related articles
All articles- The Fallback Secret That Turned JFrog Artifactory Into an Admin Vending Machine
- Langflow's Auto-Login Endpoint Was Handing Out Admin Tokens — CVE-2026-9198 Has Been Under Attack Since Before It Had a CVE
- Linux kernel CVE-2026-98432 scores 9.8, but the known root exploit needs one thing: an MPTCP listener
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Enterprise Linux, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI