Improper Cross-boundary Removal of Sensitive Data Affecting buildah-tests-debuginfo package, versions <0:1.11.6-9.module+el8.5.0+708+6758137d


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-BUILDAHTESTSDEBUGINFO-3283521
  • published5 Jan 2023
  • disclosed3 Mar 2022

Introduced: 3 Mar 2022

CVE-2021-3602  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 buildah-tests-debuginfo to version 0:1.11.6-9.module+el8.5.0+708+6758137d or higher.
This issue was patched in RLSA-2021:4221.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buildah-tests-debuginfo package and not the buildah-tests-debuginfo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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 Scores

version 3.1