5.5

CVE-2021-3602: buildah_project buildah

Modified
AliasesRHSA-2021:4221RHSA-2021:4222UBUNTU-CVE-2021-3602
Published 03-03-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-3602 is a medium (CVSS 5.5) vulnerability in buildah_project buildah. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 25.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 03-03-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

9 scores · 8 sources · 2 versions

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.33% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat62 products
Alpine2 products
  • buildah≥ 1.17.0, < 1.21.3-r0
  • podman< 3.2.3-r0
Buildah_project1 product
  • buildah< 1.16.8 | ≥ 1.17.0, < 1.17.2 | ≥ 1.19.0, < 1.19.9 | ≥ 1.21.0, < 1.21.3
Chainguard1 product
  • buildahAll versions (No fix recorded)
Debian1 product
  • golang-github-containers-buildah< 1.22.3+ds1-1
Github.com/containers1 product
  • buildah< 1.16.8 | ≥ 1.17.0, < 1.17.2 | ≥ 1.18.0, < 1.19.9 | ≥ 1.20.0, < 1.21.3 | < 1.22.0
Ubuntu1 product
  • golang-github-containers-buildahAll versions (No fix recorded)
Wolfi1 product
  • buildahAll versions (No fix recorded)

8 vendors · 70 products

References

20 links
Show all 20 references