Ubuntu Security Notice
USN-8138-2
rust-tar vulnerability
Details
USN-8138-1 fixed a vulnerability in tar-rs. This update provides the corresponding update for Ubuntu 20.04 LTS.
Original advisory details:
It was discovered that tar-rs incorrectly handled symlinks when unpacking a tar archive. If a user or automated system were tricked into processing a specially crafted tar archive, a remote attacker could use this issue to modify permissions of arbitrary directories outside the extraction root, and possibly escalate privileges.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | rust-tar | All versions before 0.4.26-1ubuntu0.1 (fixed in 0.4.26-1ubuntu0.1) |