Ubuntu Security Notice
USN-8168-1
rustc vulnerability
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:22.04:LTS | rustc | All versions before 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 (fixed in 1.75.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.62 | All versions before 1.62.1+dfsg1-1ubuntu0.22.04.3 (fixed in 1.62.1+dfsg1-1ubuntu0.22.04.3) |
| Ubuntu:22.04:LTS | rustc-1.76 | All versions before 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 (fixed in 1.76.0+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.77 | All versions before 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 (fixed in 1.77.2+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.78 | All versions before 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 (fixed in 1.78.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.79 | All versions before 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1 (fixed in 1.79.0+dfsg1ubuntu1~bpo0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.80 | All versions before 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1 (fixed in 1.80.1+dfsg0ubuntu1~bpo0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.81 | All versions before 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1 (fixed in 1.81.0+dfsg0ubuntu0-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.82 | All versions before 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1 (fixed in 1.82.0+dfsg0ubuntu0~jammy-0ubuntu0.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.83 | All versions before 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1 (fixed in 1.83.0+dfsg0ubuntu2~bpo2-0ubuntu2.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.84 | All versions before 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1 (fixed in 1.84.1+dfsg0ubuntu1~bpo10-0ubuntu4.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.85 | All versions before 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1 (fixed in 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu1.22.04.1) |
| Ubuntu:22.04:LTS | rustc-1.89 | All versions before 1.89.0+dfsg~24.04-0ubuntu0.22.04.2 (fixed in 1.89.0+dfsg~24.04-0ubuntu0.22.04.2) |
| Ubuntu:22.04:LTS | rustc-1.91 | All versions before 1.91.1+dfsg~22.04-0ubuntu0.22.04.3 (fixed in 1.91.1+dfsg~22.04-0ubuntu0.22.04.3) |
| Ubuntu:24.04:LTS | rustc | All versions before 1.75.0+dfsg0ubuntu1-0ubuntu7.4 (fixed in 1.75.0+dfsg0ubuntu1-0ubuntu7.4) |
| Ubuntu:24.04:LTS | rustc-1.74 | All versions before 1.74.1+dfsg0ubuntu1-0ubuntu15 (fixed in 1.74.1+dfsg0ubuntu1-0ubuntu15) |
| Ubuntu:24.04:LTS | rustc-1.76 | All versions before 1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2 (fixed in 1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2) |
| Ubuntu:24.04:LTS | rustc-1.77 | All versions before 1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1 (fixed in 1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1) |
| Ubuntu:24.04:LTS | rustc-1.78 | All versions before 1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2 (fixed in 1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2) |
| Ubuntu:24.04:LTS | rustc-1.79 | All versions before 1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1 (fixed in 1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1) |
| Ubuntu:24.04:LTS | rustc-1.80 | All versions before 1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01 (fixed in 1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01) |
| Ubuntu:24.04:LTS | rustc-1.81 | All versions before 1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1 (fixed in 1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1) |
| Ubuntu:24.04:LTS | rustc-1.82 | All versions before 1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1 (fixed in 1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1) |
| Ubuntu:24.04:LTS | rustc-1.83 | All versions before 1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1 (fixed in 1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1) |
| Ubuntu:24.04:LTS | rustc-1.84 | All versions before 1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1 (fixed in 1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1) |
| Ubuntu:24.04:LTS | rustc-1.85 | All versions before 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.2 (fixed in 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04.2) |
| Ubuntu:24.04:LTS | rustc-1.89 | All versions before 1.89.0+dfsg~24.04-0ubuntu0.24.04.2 (fixed in 1.89.0+dfsg~24.04-0ubuntu0.24.04.2) |
| Ubuntu:24.04:LTS | rustc-1.91 | All versions before 1.91.1+dfsg~24.04-0ubuntu0.24.04.2 (fixed in 1.91.1+dfsg~24.04-0ubuntu0.24.04.2) |
| Ubuntu:25.10 | rustc-1.85 | All versions before 1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1 (fixed in 1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1) |
| Ubuntu:25.10 | rustc-1.88 | All versions before 1.88.0+dfsg0ubuntu1-0ubuntu2 (fixed in 1.88.0+dfsg0ubuntu1-0ubuntu2) |