Bug 1656174 (CVE-2018-19490) - CVE-2018-19490 gnuplot: heap-based buffer overflow in df_generate_ascii_array_entry
Summary: CVE-2018-19490 gnuplot: heap-based buffer overflow in df_generate_ascii_array...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-19490
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1656175 1656176
Blocks: 1656186
TreeView+ depends on / blocked
 
Reported: 2018-12-04 21:47 UTC by Laura Pardo
Modified: 2021-02-16 22:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-06 11:21:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-12-04 21:47:49 UTC
An issue was discovered in datafile.c in Gnuplot 5.2.5. This issue allows an attacker to conduct a heap-based buffer overflow with an arbitrary amount of data in df_generate_ascii_array_entry. To exploit this vulnerability, an attacker must pass an overlong string as the right bound of the range argument that is passed to the plot function. 


References:
https://sourceforge.net/p/gnuplot/bugs/2093/ 
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/d5020716834582b20a5e12cdd49f39ee4f9dd949/

Comment 1 Laura Pardo 2018-12-04 21:48:27 UTC
Created gnuplot tracking bugs for this issue:

Affects: fedora-all [bug 1656176]


Created gnuplot44 tracking bugs for this issue:

Affects: epel-6 [bug 1656175]

Comment 2 Stefan Cornelius 2018-12-06 11:21:56 UTC
Statement:

Gnuplot allows for trivial execution of arbitrary commands from within gnuplot files by design. As such, gnuplot files should be considered as inherently dangerous and users should only execute files from trusted sources.


Note You need to log in before you can comment on or make changes to this bug.