USN-8138-2

Source
https://ubuntu.com/security/notices/USN-8138-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8138-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8138-2
Upstream
Published
2026-04-14T20:01:22Z
Modified
2026-04-15T09:16:36.919779601Z
Summary
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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / rust-tar

Package

Name
rust-tar
Purl
pkg:deb/ubuntu/rust-tar@0.4.26-1ubuntu0.1?arch=source&distro=esm-infra/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.26-1ubuntu0.1

Affected versions

0.*
0.4.26-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.4.26-1ubuntu0.1",
            "binary_name": "librust-tar+default-dev"
        },
        {
            "binary_version": "0.4.26-1ubuntu0.1",
            "binary_name": "librust-tar-dev"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8138-2.json"
cves_map
{
    "ecosystem": "Ubuntu:Pro:20.04:LTS",
    "cves": []
}