UBUNTU-CVE-2019-6977

Source
https://ubuntu.com/security/CVE-2019-6977
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-6977.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-6977
Related
Published
2019-01-26T00:00:00Z
Modified
2019-01-26T00: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

gdImageColorMatch in gdcolormatch.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.

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.11

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
2.1.0-3ubuntu0.10

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd2-noxpm-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd2-xpm-dev"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.0-3ubuntu0.11",
            "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.11

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
2.1.1-4ubuntu0.16.04.10

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "binary_name": "libgd-dbg"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "binary_name": "libgd-dev"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "binary_name": "libgd-dev-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "binary_name": "libgd-tools"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "binary_name": "libgd-tools-dbgsym"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "binary_name": "libgd3"
        },
        {
            "binary_version": "2.1.1-4ubuntu0.16.04.11",
            "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.3

Affected versions

2.*

2.2.5-3
2.2.5-4
2.2.5-4ubuntu0.2

Ecosystem specific

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