UBUNTU-CVE-2018-1000222

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

Libgd version 2.2.5 contains a Double Free Vulnerability vulnerability in gdImageBmpPtr Function that can result in Remote Code Execution . This attack appear to be exploitable via Specially Crafted Jpeg Image can trigger double free. This vulnerability appears to have been fixed in after commit ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5.

References

Affected packages

Ubuntu:14.04:LTS / libgd2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0-3ubuntu0.10

Affected versions

2.*

2.1.0-2
2.1.0-3
2.1.0-3ubuntu0.1
2.1.0-3ubuntu0.2
2.1.0-3ubuntu0.3
2.1.0-3ubuntu0.5
2.1.0-3ubuntu0.6
2.1.0-3ubuntu0.7
2.1.0-3ubuntu0.8

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd2-noxpm-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd2-xpm-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.10",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / libgd2

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1-4ubuntu0.16.04.10

Affected versions

2.*

2.1.1-4build1
2.1.1-4build2
2.1.1-4ubuntu0.16.04.1
2.1.1-4ubuntu0.16.04.2
2.1.1-4ubuntu0.16.04.3
2.1.1-4ubuntu0.16.04.5
2.1.1-4ubuntu0.16.04.6
2.1.1-4ubuntu0.16.04.7
2.1.1-4ubuntu0.16.04.8

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd-dev-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.10",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / libgd2

Package

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

Affected ranges

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

Affected versions

2.*

2.2.5-3
2.2.5-4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.2.5-4ubuntu0.2",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.2",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.2",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.2",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.2.5-4ubuntu0.2",
            "binary_name": "libgd3-dbgsym"
        }
    ]
}