USN-5291-1

    Dashboard / Vulnerabilities / USN-5291-1

    USN-5291-1

    Published: 17 Feb 2022Last Modified: 22 Apr 2026

    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)

    Affected packages

    Package

    Name: libarchive

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.4.0-2ubuntu1.1

    Affected versions

    3.4.0-1
    3.4.0-1build1
    3.4.0-1ubuntu2
    3.4.0-2ubuntu1

    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
    USN-5291-1 | CVE-DB