Ubuntu Security Notice
USN-8139-1
rust-cargo-c vulnerability
Details
It was discovered that tar-rs embedded in cargo-c 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:25.10 | rust-cargo-c | All versions before 0.10.11-1ubuntu1.1 (fixed in 0.10.11-1ubuntu1.1) |