CVE-2021-3602

Aliases:GHSA-7638-r9r3-rmjjGO-2022-0345
Modified
Published: 03 Mar 2022, 18:26
Last modified:03 Aug 2024, 17:01

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.17% LOW
0% probability +0.13%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

03 Mar 2022, 18:26
Published
Vulnerability first disclosed
03 Aug 2024, 17:01
Last Modified
Vulnerability 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

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • v2.0LOWScore: 1.9AV:L/AC:M/Au:N/C:P/I:N/A:N

EPSS Trends

Current EPSS score: 0.17% Percentile: 37%

Techniques & Countermeasures

  • CWE-212Improper Removal of Sensitive Information Before Storage or Transfer

    The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.

  • CWE-200Exposure of Sensitive Information to an Unauthorized Actor

    The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Systems

  • buildah_projectbuildah

    < 1.16.8 | ≥ 1.17.0, < 1.17.2 | ≥ 1.19.0, < 1.19.9 | ≥ 1.21.0, < 1.21.3

  • github.com/containersbuildah

    < 1.22.0 | < 1.16.8 | ≥ 1.17.0, < 1.17.2 | ≥ 1.18.0, < 1.19.9 | ≥ 1.20.0, < 1.21.3

  • redhatenterprise_linux

    8.0

  • redhatenterprise_linux_for_ibm_z_systems

    8.0

  • redhatenterprise_linux_for_power_little_endian

    8.0

References (7)