Bug 1545405 (CVE-2016-10713)

Summary: CVE-2016-10713 patch: Out-of-bounds access in pch_write_line function in pch.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA 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 heap-based out-of-bounds read flaw was found in the way the patch utility parsed patch files. An attacker could potentially use this flaw to crash the patch utility by tricking it into processing crafted patch files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 13:18:38 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: 1554781, 1554782, 1554783    
Bug Blocks: 1545055    

Description Laura Pardo 2018-02-14 20:48:42 UTC
A flaw was found in GNU patch before 2.7.6. An Out-of-bounds access within pch_write_line() function in pch.c file which can lead to a Denial of Service via a crafted input file.

External References:

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

Upstream Patch:

https://git.savannah.gnu.org/cgit/patch.git/commit/src/pch.c?id=a0d7fe4589651c6

Comment 4 errata-xmlrpc 2019-08-06 12:04:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2033 https://access.redhat.com/errata/RHSA-2019:2033

Comment 5 Product Security DevOps Team 2019-08-06 13:18:38 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2016-10713