Summary
USN-8477-1 fixed a vulnerability in tar. That fix was incomplete and could
cause tar to fail to extract old archives that recorded a nonzero size for
directory entries, resulting in a regression.
This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that tar incorrectly handled certain crafted archive files.
An attacker could possibly use this to inject hidden files with
attacker-controlled content, bypassing pre-extraction inspection mechanisms.
Fixed packages 7
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | tar | 1.34+dfsg-1ubuntu0.1.22.04.6 |
| Ubuntu · 24.04 LTS 24.04:LTS | tar | 1.35+dfsg-3ubuntu0.4 |
| Ubuntu · 26.04 LTS 26.04:LTS | tar | 1.35+dfsg-4ubuntu0.4 |
| Ubuntu · Pro 14.04 LTS Pro:14.04:LTS | tar | 1.27.1-1ubuntu0.1+esm7 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | tar | 1.28-2.1ubuntu0.2+esm6 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | tar | 1.29b-2ubuntu0.4+esm4 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | tar | 1.30+dfsg-7ubuntu0.20.04.4+esm3 |
Vulnerabilities 1
-
Medium 5.0
Tar: tar: hidden file injection via crafted archives
A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an a…