USN-5291-1

Source
https://ubuntu.com/security/notices/USN-5291-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5291-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5291-1
Related
Published
2022-02-17T13:54:10.309118Z
Modified
2022-02-17T13:54:10.309118Z
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)

References

Affected packages

Ubuntu:20.04:LTS / libarchive

Package

Name
libarchive
Purl
pkg:deb/ubuntu/libarchive?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.0-2ubuntu1.1

Affected versions

3.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive-dev"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive-tools"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive-tools-dbgsym"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive13"
        },
        {
            "binary_version": "3.4.0-2ubuntu1.1",
            "binary_name": "libarchive13-dbgsym"
        }
    ]
}