Out-of-bounds Write Affecting libgd2 package, versions <2.2.4-2+deb9u4
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-LIBGD2-382975
- published 27 Jan 2019
- disclosed 27 Jan 2019
Introduced: 27 Jan 2019
CVE-2019-6977 Open this link in a new tabHow to fix?
Upgrade Debian:9
libgd2
to version 2.2.4-2+deb9u4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libgd2
package and not the libgd2
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2019-6977
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-6977
- https://www.debian.org/security/2019/dsa-4384
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
- https://www.exploit-db.com/exploits/46677/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
- https://security.gentoo.org/glsa/201903-18
- http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- https://bugs.php.net/bug.php?id=77270
- https://security.netapp.com/advisory/ntap-20190315-0003/
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
- https://access.redhat.com/errata/RHSA-2019:2519
- https://access.redhat.com/errata/RHSA-2019:3299
- http://www.securityfocus.com/bid/106731
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-6977
- https://usn.ubuntu.com/3900-1/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
- https://www.exploit-db.com/exploits/46677