Bug 1900812 (CVE-2020-20740)

Summary: CVE-2020-20740 pdfresurrect: heap-based buffer overflow in pdf_get_version function due to lack of header validation checks
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: lemenkov
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: 2020-11-23 23:33:57 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: 1900813    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-11-23 18:45:26 UTC
PDFResurrect before 0.20 lack of header validation checks causes heap-buffer-overflow in pdf_get_version().

Reference:
https://github.com/enferex/pdfresurrect/issues/14

Upstream patch:
https://github.com/enferex/pdfresurrect/commit/1b422459f07353adce2878806d5247d9e91fb397

Comment 1 Guilherme de Almeida Suckevicz 2020-11-23 18:45:41 UTC
Created pdfresurrect tracking bugs for this issue:

Affects: fedora-all [bug 1900813]

Comment 2 Product Security DevOps Team 2020-11-23 23:33:57 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.