Skip to main content
No exploitation reportedFix available

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?

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
  1. 2022-03-0319:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 09:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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
Buildah project buildah
BranchAffectedFixed in
1.22< 1.22.01.22.0
1.21≥ 1.21.0, < 1.21.31.21.3
1.x≥ 1.20.0, < 1.21.31.21.3
1.19≥ 1.19.0, < 1.19.91.19.9
1.x≥ 1.18.0, < 1.19.91.19.9
1.17≥ 1.17.0, < 1.17.21.17.2
1.16< 1.16.81.16.8
Redhat enterprise linux
BranchAffectedFixed in
8.0= 8.0no fix published
Redhat enterprise linux for ibm z systems
BranchAffectedFixed in
8.0= 8.0no fix published

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

Full record on NVD

Fix

  1. Update Buildah project buildah to 1.22.0 · 1.21.3 · 1.19.9 · 1.17.2 · 1.16.8

Advisories and patches

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

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?

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

Is CVE-2021-3602 actively exploited?

Active exploitation of CVE-2021-3602 has not been confirmed. Its EPSS score was 0.3% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-3602?

CVE-2021-3602 has a CVSS v3 base score of 5.5 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

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

Sources for this record