Buffer overflow in Gnuplot - CVE-2020-25969

 

Buffer overflow in Gnuplot - CVE-2020-25969

Published: August 4, 2023


Vulnerability identifier: #VU78945
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-25969
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the plotrequest() function. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

Gnuplot
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
Ubuntu
openEuler
gnuplot (Ubuntu package)
gnuplot-debugsource
gnuplot-debuginfo
gnuplot
gnuplot-help

How to mitigate CVE-2020-25969

Install updates from vendor's website.

gnuplot (Ubuntu package) - addressed in versions 4.6.4-2ubuntu0.1~esm1, 4.6.6-3ubuntu0.1+esm1, 5.2.2+dfsg1-2ubuntu1+esm1, 5.2.8+dfsg1-2ubuntu0.1~esm1
gnuplot-debugsource - update to 4.6.5-3.6.1
gnuplot-debuginfo - update to 4.6.5-3.6.1
gnuplot - update to 4.6.5-3.6.1
gnuplot - update to 5.0.6-13
gnuplot-debuginfo - update to 5.0.6-13
gnuplot-debugsource - update to 5.0.6-13
gnuplot-help - update to 5.0.6-13

External References

Related Security Bulletins