Bug 1818934 (CVE-2019-20633)

Summary: CVE-2019-20633 patch: double free in another_hunk function in pch.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: kyoshida, than, twaugh
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 vulnerability was found in GNU Patch due to a double-free issue in the another_hunk function within pch.c, where an attacker could exploit this flaw to cause memory corruption, leading the application to crash and resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 1818938, 1819277, 1819278    
Bug Blocks: 1818937    

Description Guilherme de Almeida Suckevicz 2020-03-30 18:10:22 UTC
GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

Reference:
https://savannah.gnu.org/bugs/index.php?56683

Comment 1 Guilherme de Almeida Suckevicz 2020-03-30 18:11:29 UTC
Created patch tracking bugs for this issue:

Affects: fedora-all [bug 1818938]