-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chroot: fix environment value leakage to intermediate processes
Blake Burkhart reports that when running processes using "chroot" isolation, the process being run can examine the environment of its immediate parent and grandparent processes (CVE-2021-3602). When run in a container in a CI/CD environment, the environment may include sensitive information which was shared with the container in order to be used only by buildah itself. The command being executed is able to read such information. This patch reduces the set of environment variables passed to these intermediate processes, from all variables to the one which is used to control the level of debug logging. It also corrects a misleading debug message and expands the description of chroot isolation in man pages. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
- Loading branch information
Showing
4 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters