Bug 1278820 (CVE-2015-5212)

Summary: CVE-2015-5212 libreoffice: Integer underflow in PrinterSetup length
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caolanm, dtardon, erack, ltinkl, mstahl, sbergman
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libreoffice 4.4.5, libreoffice 5.0.0, openoffice 4.1.1 Doc Type: Bug Fix
Doc Text:
An integer underflow flaw leading to a heap-based buffer overflow when parsing PrinterSetup data was discovered. By tricking a user into opening a specially crafted document, an attacker could possibly exploit this flaw to execute arbitrary code with the privileges of the user opening the file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-14 06:20:40 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: 1278821, 1285818, 1285819, 1285820, 1285821    
Bug Blocks: 1278830    

Description Adam Mariš 2015-11-06 13:44:04 UTC
It was found that crafted ODF document can be used to create a buffer that is too small for the amount of data loaded into it, allowing an attacker to cause denial of service (memory corruption and application crash) and possible execution of arbitrary code.

Products affected are LibreOffice < 4.4.5 and OpenOffice <= 4.1.1.

External reference:

http://www.libreoffice.org/about-us/security/advisories/cve-2015-5212/
http://www.openoffice.org/security/cves/CVE-2015-5212.html

Comment 1 Adam Mariš 2015-11-06 13:44:25 UTC
Created libreoffice tracking bugs for this issue:

Affects: fedora-all [bug 1278821]

Comment 6 errata-xmlrpc 2015-12-14 05:50:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2015:2619 https://rhn.redhat.com/errata/RHSA-2015-2619.html