A flaw was found in Podman. If an attacker can pass a crafted tar archive to the podman load command, they can create files on the host machine with the privileges of the user running Podman.
Weakness
A product defines a set of insecure permissions that are inherited by objects that are created by the program.
Affected Software
| Name | Vendor | Start Version | End Version |
|---|
| Red Hat Enterprise Linux 9 | RedHat | buildah-2:1.43.3-2.el9_8 | * |
| Red Hat Enterprise Linux 9 | RedHat | skopeo-2:1.22.2-8.el9_8 | * |
Potential Mitigations
- Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
- Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
References