USN-5291-1

Type: Security
Severity: Medium
Published: 2022-02-17
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that libarchive incorrectly handled symlinks. If a user or automated system were tricked into processing a specially crafted archive, an attacker could possibly use this issue to change modes, times, ACLs, and flags on arbitrary files. (CVE-2021-23177, CVE-2021-31566) It was discovered that libarchive incorrectly handled certain RAR archives. If a user or automated system were tricked into processing a specially crafted RAR archive, an attacker could use this issue to cause libarchive to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-36976) Update Instructions: Run `sudo pro fix USN-5291-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libarchive-dev - 3.4.0-2ubuntu1.1 libarchive-tools - 3.4.0-2ubuntu1.1 libarchive13 - 3.4.0-2ubuntu1.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T08:00:21.392Z UTC.

Upstream Advisory

Affected Packages

  • libarchive-dev 3.4.0-2ubuntu1.1-3.4.0-2ubuntu1.1

  • libarchive-tools 3.4.0-2ubuntu1.1-3.4.0-2ubuntu1.1

  • libarchive13 3.4.0-2ubuntu1.1-3.4.0-2ubuntu1.1

Interested in being alerted when there are new versions of libarchive-dev and the other packages? Set up an alert.
USN-5291-1: libarchive vulnerabilities | Package Alert