Bug 1444056 (CVE-2017-7882)

Summary: CVE-2017-7882 libreoffice: Heap-buffer-overflow in HWPFile::TagsRead
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caolanm, dtardon, erack, mstahl, sbergman
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 13:15:12 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: 1444065    
Bug Blocks: 1444063    

Description Andrej Nemec 2017-04-20 13:37:59 UTC
LibreOffice has an out-of-bounds write caused by a heap-based buffer overflow in the HWPFile::TagsRead function in hwpfilter/source/hwpfile.cxx.

References:

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=860

Upstream patch:

https://github.com/LibreOffice/core/commit/65dcd1d8195069c8c8acb3a188b8e5616c51029c

Comment 1 Andrej Nemec 2017-04-20 13:45:19 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 1444065]

Comment 2 Caolan McNamara 2017-04-21 11:19:35 UTC
This was a bug fix on March 14, 2017 for a bug introduced on March 2, 2017 and was never present in any release