Juniper Junos libgd Compressed GD2 Data RCE (JSA10798)

High Nessus Plugin ID 102073


The remote device is affected by a remote code execution vulnerability.


According to its self-reported version number, the remote Juniper Junos device is affected by an integer signedness error in the included GD Graphics Library (libgd) when handling compressed GD2 data due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, via specially crafted compressed GD2 data, to cause a heap-based buffer overflow, resulting in a denial of service condition or the execution of arbitrary code.


Upgrade to the relevant Junos software release referenced in Juniper security advisory JSA10798.

See Also

Plugin Details

Severity: High

ID: 102073

File Name: juniper_jsa10798.nasl

Version: $Revision: 1.2 $

Type: combined

Published: 2017/07/31

Modified: 2017/08/01

Dependencies: 55932

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: cpe:/o:juniper:junos

Required KB Items: Host/Juniper/JUNOS/Version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/07/12

Vulnerability Publication Date: 2016/04/21

Reference Information

CVE: CVE-2016-3074

BID: 87087

OSVDB: 137447

JSA: JSA10798

EDB-ID: 39736