GD Graphics Library 2.2.5 gd_wbmp.c gdImage*Ptr double free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GD Graphics Library 2.2.5. It has been declared as critical. This vulnerability affects the function gdImage*Ptr of the file gd_gif_out.c/gd_jpeg.c/gd_wbmp.c. Executing a manipulation as part of Library can lead to double free.
This vulnerability is handled as CVE-2019-6978. The attack can be executed remotely. There is not any exploit available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical was found in GD Graphics Library 2.2.5 (Image Processing Software). This vulnerability affects the function gdImage*Ptr of the file gd_gif_out.c/gd_jpeg.c/gd_wbmp.c. The manipulation as part of a Library leads to a double free vulnerability. The CWE definition for the vulnerability is CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is unaffected.
The bug was discovered 01/15/2019. The weakness was released 01/28/2019 (Website). The advisory is shared for download at github.com. This vulnerability was named CVE-2019-6978 since 01/28/2019. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 13 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 121483 (Debian DLA-1651-1 : libgd2 security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176579 (Debian Security Update for libgd2 (DSA 4384-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (121483) and SecurityFocus (BID 106731†). Entries connected to this vulnerability are available at VDB-111901, VDB-123055 and VDB-130273. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
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: Double freeCWE: CWE-415 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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: 121483
Nessus Name: Debian DLA-1651-1 : libgd2 security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: github.com
Timeline
01/15/2019 🔍01/26/2019 🔍
01/28/2019 🔍
01/28/2019 🔍
01/28/2019 🔍
01/28/2019 🔍
01/30/2019 🔍
01/31/2019 🔍
07/03/2023 🔍
Sources
Advisory: RHSA-2019:2722Status: Confirmed
CVE: CVE-2019-6978 (🔍)
GCVE (CVE): GCVE-0-2019-6978
GCVE (VulDB): GCVE-100-130276
SecurityFocus: 106731 - LibGD CVE-2019-6977 Heap Buffer Overflow Vulnerability
See also: 🔍
Entry
Created: 01/28/2019 16:25Updated: 07/03/2023 14:57
Changes: 01/28/2019 16:25 (75), 05/06/2020 12:09 (5), 07/03/2023 14:57 (5)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.