GD Graphics Library up to 2.2.3 gd_interpolation.c gdContributionsAlloc u integer underflow
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.2 | $0-$5k | 0.00 |
A vulnerability was found in GD Graphics Library up to 2.2.3 (Image Processing Software). It has been declared as critical. Affected by this vulnerability is the function gdContributionsAlloc
of the file gd_interpolation.c. The manipulation of the argument u
with an unknown input leads to a integer underflow vulnerability. The CWE definition for the vulnerability is CWE-191. The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to decrementing the u variable.
The bug was discovered 01/28/2017. The weakness was published 03/15/2017 by Salvatore Bonaccorso (oss-sec). The advisory is shared at openwall.com. This vulnerability is known as CVE-2016-10166 since 01/28/2017. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 25 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 97369 (openSUSE Security Update : gd (openSUSE-2017-289)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 169771 (SUSE Enterprise Linux Security Update for php7 (SUSE-SU-2017:0534-1)).
Upgrading to version 2.2.4 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (97369). Similar entries are available at 95037, 95171, 95879 and 98126.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Integer underflowCWE: CWE-191 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 97369
Nessus Name: openSUSE Security Update : gd (openSUSE-2017-289)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703777
OpenVAS Name: Debian Security Advisory DSA 3777-1 (libgd2 - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: GD Graphics Library 2.2.4
Timeline
01/28/2017 🔍01/28/2017 🔍
01/28/2017 🔍
02/22/2017 🔍
02/24/2017 🔍
03/15/2017 🔍
03/15/2017 🔍
03/16/2017 🔍
09/08/2020 🔍
Sources
Advisory: openwall.comResearcher: Salvatore Bonaccorso
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-10166 (🔍)
OVAL: 🔍
SecurityFocus: 95869 - libgd Multiple Security Vulnerabilities
OSVDB: - CVE-2016-10166 - GD Graphics Library - Integer Underflow Issue
See also: 🔍
Entry
Created: 03/16/2017 13:26Updated: 09/08/2020 12:27
Changes: 03/16/2017 13:26 (81), 09/08/2020 12:27 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.