CVE-2021-3602

MEDIUMCVSS 5.5/10EPSS 0.32%

Last modified

CVE-2021-3602 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. An information disclosure flaw was found in Buildah, when building containers using chroot isolation. Running processes in container builds (e.g. EPSS estimates a 0.32% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
0.32%

23.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Buildah ProjectBuildah< 1.16.8
Buildah ProjectBuildah>= 1.17.0, < 1.17.2
Buildah ProjectBuildah>= 1.19.0, < 1.19.9
Buildah ProjectBuildah>= 1.21.0, < 1.21.3
RedhatEnterprise Linux8.0
RedhatEnterprise Linux For Ibm Z Systems8.0
RedhatEnterprise Linux For Power Little Endian8.0

References

Timeline

Published
Last Modified
Status
Modified

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).
How severe is CVE-2021-3602?
CVE-2021-3602 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 0.32% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3602?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3602?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST