CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2019-6977

gdImageColorMatch in gd_color_match.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.
Publish Date : 2019-01-27 Last Update Date : 2020-08-24
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Overflow
CWE ID 787

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2020:4659: gd security update (Moderate) oval:com.redhat.rhsa:def:20204659 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2019-6977

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 18.10 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
6 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
7 Application Libgd Libgd 2.2.5 * * * Version Details Vulnerabilities
8 Application Netapp Storage Automation Store * * * * Version Details Vulnerabilities
9 Application PHP PHP * * * * Version Details Vulnerabilities
10 Application PHP PHP 7.3.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 2
Libgd Libgd 1
Netapp Storage Automation Store 1
PHP PHP 2

- References For CVE-2019-6977

https://lists.fedoraproject.org/archives/list/[email protected]/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
FEDORA FEDORA-2020-e795f92d79
https://security.gentoo.org/glsa/201903-18
GENTOO GLSA-201903-18
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
SUSE openSUSE-SU-2019:1148
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
SUSE openSUSE-SU-2019:1140
http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
https://www.exploit-db.com/exploits/46677/
EXPLOIT-DB 46677
https://lists.fedoraproject.org/archives/list/[email protected]/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
FEDORA FEDORA-2019-7a06c0e6b4
https://lists.fedoraproject.org/archives/list/[email protected]/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
FEDORA FEDORA-2019-d7f8995451
https://access.redhat.com/errata/RHSA-2019:2519
REDHAT RHSA-2019:2519
https://access.redhat.com/errata/RHSA-2019:3299
REDHAT RHSA-2019:3299
https://lists.fedoraproject.org/archives/list/[email protected]/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
FEDORA FEDORA-2019-ab7d22a466
https://security.netapp.com/advisory/ntap-20190315-0003/ CONFIRM
https://usn.ubuntu.com/3900-1/
UBUNTU USN-3900-1
https://www.debian.org/security/2019/dsa-4384
DEBIAN DSA-4384
http://www.securityfocus.com/bid/106731
BID 106731 LibGD CVE-2019-6977 Heap Buffer Overflow Vulnerability Release Date:2019-01-26
https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
MLIST [debian-lts-announce] 20190130 [SECURITY] [DLA 1651-1] libgd2 security update
http://php.net/ChangeLog-5.php
https://bugs.php.net/bug.php?id=77270
http://php.net/ChangeLog-7.php

- Metasploit Modules Related To CVE-2019-6977

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.