Bug 1027550 (CVE-2013-6475)

Summary: CVE-2013-6475 cups-filters: possible heap-based buffer overflows due to the use of gmalloc
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fweimer, pfrields, security-response-team, twaugh, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-11 05:31:56 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: 1052741, 1074840    
Bug Blocks: 1002935, 1010117    

Description Murray McAllister 2013-11-07 04:22:31 UTC
Previously, the pdftoopvp filter used gmalloc for memory allocations. This could result in integer overflow flaws, leading to heap-based buffer overflows. If a malicious PDF file were processed, it could lead to arbitrary code execution with the privileges of the "lp" user. The following patch introduces the use of gmallocn and gmallocn3, which attempt to check for integer overflows:

http://cgit.freedesktop.org/poppler/poppler/commit/?id=7b2d314a61fd0e12f47c62996cb49ec0d1ba747a

Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Comment 3 Huzaifa S. Sidhpurwala 2014-03-11 05:15:30 UTC
Public via:

http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7176

This issue has been resolved in upstream cups-filters-1.0.47

Comment 4 Huzaifa S. Sidhpurwala 2014-03-11 05:18:48 UTC
Created cups-filters tracking bugs for this issue:

Affects: fedora-all [bug 1074840]