USN-8168-2

Type: Security
Severity: Medium
Published: 2026-04-14
Ubuntu 20.04 LTS (Focal Fossa)

USN-8168-1 fixed a vulnerability in Rust. This update provides the corresponding update to Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Original advisory details: It was discovered that tar-rs embedded in rustc 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. Update Instructions: Run `sudo pro fix USN-8168-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: cargo - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 cargo-doc - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.75 - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-dev - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-all - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-clippy - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-doc - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-gdb - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-lldb - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-src - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rustc - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rustfmt - 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro cargo-1.76 - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 cargo-1.76-doc - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.76 - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.76-dev - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.76-all - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.76-clippy - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.76-doc - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.76-gdb - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.76-lldb - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.76-src - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rustc-1.76 - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rustfmt-1.76 - 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro cargo-1.77 - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 cargo-1.77-doc - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.77 - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.77-dev - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.77-all - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.77-clippy - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.77-doc - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.77-gdb - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.77-lldb - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.77-src - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rustc-1.77 - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rustfmt-1.77 - 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro cargo-1.78 - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 cargo-1.78-doc - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.78 - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.78-dev - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.78-all - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.78-clippy - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.78-doc - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.78-gdb - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.78-lldb - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.78-src - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rustc-1.78 - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 rustfmt-1.78 - 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro cargo-1.79 - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 cargo-1.79-doc - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 libstd-rust-1.79 - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 libstd-rust-1.79-dev - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rust-1.79-all - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rust-1.79-clippy - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rust-1.79-doc - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rust-1.79-gdb - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rust-1.79-lldb - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rust-1.79-src - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rustc-1.79 - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 rustfmt-1.79 - 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.20.04.3 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro cargo-1.80 - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 cargo-1.80-doc - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.80 - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 libstd-rust-1.80-dev - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.80-all - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.80-clippy - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.80-doc - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.80-gdb - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.80-lldb - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rust-1.80-src - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rustc-1.80 - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 rustfmt-1.80 - 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2026-04-15T06:56:39.038Z UTC.

Upstream Advisory

Affected Packages

  • cargo 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • cargo-doc 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • libstd-rust-1.75 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • libstd-rust-dev 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rust-all 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rust-clippy 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rust-doc 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rust-gdb 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rust-lldb 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rust-src 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rustc 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

  • rustfmt 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1-1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.20.04.1

Interested in being alerted when there are new versions of cargo and the other packages? Set up an alert.
USN-8168-2: Rust vulnerability | Package Alert