Bug 1882320 (CVE-2020-25559)

Summary: CVE-2020-25559 gnuplot: double free when executing print_set_output may lead to arbitrary code execution
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jkucera, orion, pcahyna
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in gnuplot. A double free memory issue when executing print_set_output may result in context-dependent arbitrary code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 17:48:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1882321, 1882851, 1882852    
Bug Blocks: 1882326    

Description Marian Rehak 2020-09-24 10:32:21 UTC
gnuplot 5.5 is affected by double free when executing print_set_output. This may result in context-dependent arbitrary code execution.

Reference:

https://sourceforge.net/p/gnuplot/bugs/2312/

Comment 1 Marian Rehak 2020-09-24 10:32:52 UTC
Created gnuplot tracking bugs for this issue:

Affects: fedora-all [bug 1882321]

Comment 4 Todd Cullum 2020-09-25 21:30:40 UTC
I've set RHEL7 severity to low as it would not reproduce but seems to be possible in the source code.