Bug 1691724 (CVE-2019-9903)

Summary: CVE-2019-9903 poppler: stack consumption in function Dict::find() in Dict.cc
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: caillon+fedoraproject, feborges, gnome-sig, john.j5live, mclasen, mkasik, rdieter, rhughes, rstrode, sandmann
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: 2019-09-12 12:45: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: 1691725, 1691887, 1717867    
Bug Blocks: 1691727    

Description Dhananjay Arunesh 2019-03-22 10:45:18 UTC
PDFDoc::markObject in PDFDoc.cc in Poppler 0.74.0 mishandles dict marking, leading to stack consumption in the function Dict::find() located at Dict.cc, which can (for example) be triggered by passing a crafted pdf file to the pdfunite binary.

Reference:
https://gitlab.freedesktop.org/poppler/poppler/issues/741

Upstream commit:
https://gitlab.freedesktop.org/poppler/poppler/commit/fada09a2ccc11a3a1d308e810f1336d8df6011fd

Comment 1 Dhananjay Arunesh 2019-03-22 10:45:30 UTC
Created poppler tracking bugs for this issue:

Affects: fedora-all [bug 1691725]

Comment 3 Scott Gayou 2019-03-22 17:44:22 UTC
Red Hat Enterprise Linux 7 poppler (0.26.5) does not appear to be impacted by this stack overflow and completes without segfaulting. Versions before 0.26.5 do not appear impacted as well -- the code is quite different.

Comment 7 errata-xmlrpc 2019-09-11 09:33:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 8 Product Security DevOps Team 2019-09-12 12:45:40 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-2019-9903