CVE-2021-3602
No exploitation reported by the sources we read.
- Published2022-03-03
- Fixed in1.22.0 · 1.21.3 · 1.19.9 · 1.17.2 · 1.16.8
- WeaknessCWE-200 · CWE-212
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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).
Timeline
dates in UTC- 2022-03-0319:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-04 09:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2021-3602?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2021-3602?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.22 | < 1.22.0 | 1.22.0 | OSV |
| 1.21 | ≥ 1.21.0, < 1.21.3 | 1.21.3 | NVD |
| 1.x | ≥ 1.20.0, < 1.21.3 | 1.21.3 | OSV |
| 1.19 | ≥ 1.19.0, < 1.19.9 | 1.19.9 | NVD |
| 1.x | ≥ 1.18.0, < 1.19.9 | 1.19.9 | OSV |
| 1.17 | ≥ 1.17.0, < 1.17.2 | 1.17.2 | NVD · OSV |
| 1.16 | < 1.16.8 | 1.16.8 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- buildahWolfiall versions · fixed in 0
- buildahRocky Linux:8all versions · fixed in 0:1.11.6-9.module+el8.5.0+708+6758137d
- buildahRocky Linux:8all versions · fixed in 0:1.19.9-1.module+el8.5.0+709+440d5e7e
- buildahRocky Linux:8all versions · fixed in 0:1.22.3-2.module+el8.5.0+710+4c471e88
- buildahRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.22.3-2.module+el8.5.0+12582+56d94c81and 4 other packages
- buildahRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.11.6-9.module+el8.5.0+12239+ec01067band 4 other packages
- buildahRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:1.19.9-1.module+el8.5.0+12236+c988d830and 4 other packages
- buildahMageia:8all versions · fixed in 1.30.0-1.mga8
271 more package ranges on OSV.dev
Fix
- Update Buildah project buildah to 1.22.0 · 1.21.3 · 1.19.9 · 1.17.2 · 1.16.8
Advisories and patches
- bugzilla.redhat.comPatch
- github.comPatch
- ubuntu.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.15.5read 2026-10-23
- NVDCVSS 2.01.9read 2026-10-23
- CNAweakness (CWE)CWE-200known since 2026-10-23
- NVDweakness (CWE)CWE-212read 2026-10-23
- FIRST EPSSEPSS score0.3 %2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2021-07-15
Identifiers
- AZL-39837same flawAzure Linux · MIT
- AZL-44154same flawAzure Linux · MIT
- CGA-2444-jgxv-q53jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cm32-rwx9-f844same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2021-1446same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-7638-r9r3-rmjjsame flawGitHub Advisory Database · CC-BY-4.0
- GO-2022-0345same flawGo Vulnerability Database · CC-BY-4.0
- ALSA-2021:4154advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:4221advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:4222advisory covering several CVEsAlmaLinux · MIT
- MGASA-2023-0213advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2022:23018-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11757-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2021:4154advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4221advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:4222advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:4154advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:4221advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:4222advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:23018-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:3312-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Published
- 2022-03-03
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-7638-r9r3-rmjj
Frequently asked questions
What is CVE-2021-3602?
Is CVE-2021-3602 actively exploited?
What is the CVSS score for CVE-2021-3602?
Running containers/buildah? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7638-r9r3-rmjj
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served