Heap-based buffer overflow in Gnuplot - CVE-2018-19490

 

Heap-based buffer overflow in Gnuplot - CVE-2018-19490

Published: November 26, 2018 / Updated: November 27, 2018


Vulnerability identifier: #VU16070
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2018-19490
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Gnuplot
Affected software:
Gnuplot

Detailed vulnerability description

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists in the datafile.c source code file due to boundary error when handling maliciou input. A local attacker can make a specially crafted request that submits a long string as the right bound of the range option to be passed to the plot function, trigger memory corruption condition and cause a DoS condition or execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2018-19490

Install update from vendor's website.

Sources