Bug 1951198 (CVE-2021-3508)

Summary: CVE-2021-3508 pdfresurrect: infinite loop in get_xref_linear_skipped() in pdf.c
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: low Docs Contact:
Priority: low    
Version: unspecifiedCC: lemenkov
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: PDFResurrect 0.23b Doc Type: ---
Doc Text:
A flaw was found in PDFResurrect in version 0.22b. There is an infinite loop in get_xref_linear_skipped() in pdf.c via a crafted PDF file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-19 22:46: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: 1951199    
Bug Blocks: 1951200    

Description Guilherme de Almeida Suckevicz 2021-04-19 19:27:17 UTC
A flaw was found in PDFResurrect in version 0.22b. There is a infinite loop in get_xref_linear_skipped() in pdf.c via a crafted PDF file.

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

Upstream patch:
https://github.com/enferex/pdfresurrect/commit/7e35d1806e111fd28610ccc86bb33f54792ac370

Comment 1 Guilherme de Almeida Suckevicz 2021-04-19 19:27:21 UTC
External References:

https://github.com/enferex/pdfresurrect/issues/17

Comment 2 Guilherme de Almeida Suckevicz 2021-04-19 19:27:34 UTC
Created pdfresurrect tracking bugs for this issue:

Affects: fedora-all [bug 1951199]

Comment 3 Product Security DevOps Team 2021-04-19 22:46:31 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.