Bug 1491812 (CVE-2017-14226)

Summary: CVE-2017-14226 libwpd: Heap-based buffer over-read in WPXTableList class
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alexl, caillon+fedoraproject, caolanm, dtardon, rhughes, rstrode, sandmann
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libwpd 0.10.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:25:31 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: 1489337, 1491813    
Bug Blocks:    

Description Pedro Sampaio 2017-09-14 18:11:54 UTC
WP1StylesListener.cpp, WP5StylesListener.cpp, and WP42StylesListener.cpp in
libwpd 0.10.1 mishandle iterators, which allows remote attackers to cause a
denial of service (heap-based buffer over-read in the WPXTableList class in
WPXTable.cpp). This vulnerability can be triggered in LibreOffice before 5.3.7.
It may lead to suffering a remote attack against a LibreOffice application.

Upstream bug:

https://sourceforge.net/p/libwpd/tickets/14/

Upstream patch:

https://sourceforge.net/p/libwpd/code/ci/0329a9c57f9b3b0efa0f09a5235dfd90236803a5/
https://sourceforge.net/p/libwpd/code/ci/f40827b3eae260ce657c67d9fecc855b09dea3c3/

References:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=dd89afa6ee8166b69e7a1e86f22616ca8fc122c9
https://bugs.documentfoundation.org/show_bug.cgi?id=112269
https://bugzilla.redhat.com/show_bug.cgi?id=1489337

Comment 1 Pedro Sampaio 2017-09-14 18:12:45 UTC
Created libwpd tracking bugs for this issue:

Affects: fedora-all [bug 1491813]