UBUNTU-CVE-2021-31566

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-31566

    UBUNTU-CVE-2021-31566

    Published: 24 Dec 2021Last Modified: 21 May 2026
    Upstream:
    Aliases:

    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.

    Affected packages

    Package

    Name: libarchive

    Purl: pkg:deb/ubuntu/libarchive?arch=source&distro=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    3.1.2-5ubuntu1
    3.1.2-7ubuntu1
    3.1.2-7ubuntu2
    3.1.2-7ubuntu2.1
    3.1.2-7ubuntu2.2
    3.1.2-7ubuntu2.3
    3.1.2-7ubuntu2.4
    3.1.2-7ubuntu2.6
    3.1.2-7ubuntu2.7
    3.1.2-7ubuntu2.8
    3.1.2-7ubuntu2.8+esm1
    3.1.2-7ubuntu2.8+esm3
    3.1.2-7ubuntu2.8+esm4
    3.1.2-7ubuntu2.8+esm5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-31566 | CVE-DB