UBUNTU-CVE-2018-1000877

Source
https://ubuntu.com/security/CVE-2018-1000877
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1000877.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-1000877
Related
Published
2018-12-20T00:00:00Z
Modified
2018-12-20T00:00:00Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archivereadsupportformatrar.c, parsecodes(), realloc(rar->lzss.window, newsize) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.

References

Affected packages

Ubuntu:14.04:LTS / libarchive

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-7ubuntu2.7

Affected versions

3.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "bsdcpio"
        },
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "bsdcpio-dbgsym"
        },
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "bsdtar"
        },
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "bsdtar-dbgsym"
        },
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "libarchive-dev"
        },
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "libarchive13"
        },
        {
            "binary_version": "3.1.2-7ubuntu2.7",
            "binary_name": "libarchive13-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / libarchive

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-11ubuntu0.16.04.5

Affected versions

3.*

3.1.2-11build1
3.1.2-11ubuntu0.16.04.1
3.1.2-11ubuntu0.16.04.2
3.1.2-11ubuntu0.16.04.3
3.1.2-11ubuntu0.16.04.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "bsdcpio"
        },
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "bsdcpio-dbgsym"
        },
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "bsdtar"
        },
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "bsdtar-dbgsym"
        },
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "libarchive-dev"
        },
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "libarchive13"
        },
        {
            "binary_version": "3.1.2-11ubuntu0.16.04.5",
            "binary_name": "libarchive13-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / libarchive

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.2-3.1ubuntu0.2

Affected versions

3.*

3.2.2-3.1
3.2.2-3.1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "bsdcpio"
        },
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "bsdtar"
        },
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "libarchive-dev"
        },
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "libarchive-tools"
        },
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "libarchive-tools-dbgsym"
        },
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "libarchive13"
        },
        {
            "binary_version": "3.2.2-3.1ubuntu0.2",
            "binary_name": "libarchive13-dbgsym"
        }
    ]
}