`proot-distro install` has a Symlink Escape (Arbitrary Host File Write) via Malicious Tar Archive
termux proot-distro
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| proot-distro PyPI |
|
|
Original description
proot-distro is a utility for managing proot containers. Prior to version 5.1.5, proot-distro install extracted plain tarball root filesystems through _extract_plain_tar() in proot_distro/commands/install.py and Docker layers through _apply_layer() in proot_distro/helpers/docker.py without validating archive-controlled symlink targets in member.linkname, allowing a malicious archive to plant an absolute host-path symlink and write files through it onto the host filesystem. This issue is fixed in version 5.1.5.
From the CVE record · GitHub_M