buildah

CVE-2021-3602
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.33 % Β· percentile 26 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-200 β€” Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-212 β€” Improper Removal of Sensitive Information Before Storage or Transfer

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD Β· nvd@nist.gov (Primary)
CVSS 2.0LOW 1.9AV:L/AC:M/Au:N/C:P/I:N/A:NNVD Β· nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
buildahaffected Affects v1.21.2, v1.20.0, v1.19.8, v1.18.0, v1.17.1, v1.16.7, Fixed in v1.21.3, v1.19.9, v1.17.2, v1.16.8, v1.22.0 and above.

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD