Bug 1545046 (CVE-2018-6951)

Summary: CVE-2018-6951 patch: NULL pointer dereference in pch.c:intuit_diff_type() causes a crash
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: 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 NULL pointer dereference flaw was found in the way patch processed patch files. An attacker could potentially use this flaw to crash patch by tricking it into processing crafted patches.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:39:56 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: 1545047, 1554750    
Bug Blocks: 1545055    

Description Sam Fowler 2018-02-14 06:58:09 UTC
GNU patch through version 2.7.6 in pch.c:intuit_diff_type() is vulnerable to a crash caused by malicious patch file.

Upstream Issue:

https://savannah.gnu.org/bugs/index.php?53132

Upstream Patch:

https://git.savannah.gnu.org/cgit/patch.git/commit/?id=f290f48a621867084884bfff87f8093c15195e6a

Comment 1 Sam Fowler 2018-02-14 06:58:33 UTC
Created patch tracking bugs for this issue:

Affects: fedora-all [bug 1545047]