Advisory

USN-5291-1

Also known as: CVE-2021-23177, CVE-2021-31566, CVE-2021-36976

Summary

libarchive vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2022-02-17 13:54 UTC
Modified
2026-04-22 10:21 UTC

Affected packages and fixes

libarchive

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.4.0-2ubuntu1.1 (ecosystem)

Fixed versions

3.4.0-2ubuntu1.1

Fix

  • Fixed version 3.4.0-2ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences