Bug 1545046 (CVE-2018-6951) - CVE-2018-6951 patch: NULL pointer dereference in pch.c:intuit_diff_type() causes a crash
Summary: CVE-2018-6951 patch: NULL pointer dereference in pch.c:intuit_diff_type() cau...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-6951
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: 1545047 1554750
Blocks: 1545055
TreeView+ depends on / blocked
 
Reported: 2018-02-14 06:58 UTC by Sam Fowler
Modified: 2019-09-29 14:32 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:39:56 UTC


Attachments (Terms of Use)

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]


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