A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build con...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.20buildah |
< 1.35.4-r0→ 1.35.4-r0 |
1.35.4-r0 |
| Alpine:v3.21buildah |
< 1.35.4-r0→ 1.35.4-r0 |
1.35.4-r0 |
| Alpine:v3.22buildah |
< 1.35.4-r0→ 1.35.4-r0 |
1.35.4-r0 |
| Alpine:v3.23buildah |
< 1.35.4-r0→ 1.35.4-r0 |
1.35.4-r0 |
| Alpine:v3.24buildah |
< 1.35.4-r0→ 1.35.4-r0 |
1.35.4-r0 |
| Alpine:v3.20podman |
< 4.9.4-r0→ 4.9.4-r0 |
4.9.4-r0 |
| Alpine:v3.21podman |
< 4.9.4-r0→ 4.9.4-r0 |
4.9.4-r0 |
| Alpine:v3.22podman |
< 4.9.4-r0→ 4.9.4-r0 |
4.9.4-r0 |
| Alpine:v3.23podman |
< 4.9.4-r0→ 4.9.4-r0 |
4.9.4-r0 |
| Alpine:v3.24podman |
< 4.9.4-r0→ 4.9.4-r0 |
4.9.4-r0 |
Original description The description as published by the source.
A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org