Advisory

UBUNTU-CVE-2021-31566

Also known as: CVE-2021-31566

Summary

The record has no summary.

Details

An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a system.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2021-12-24 00:00 UTC
Modified
2026-05-21 18:05 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