Bug 1985253 (CVE-2021-37220)

Summary: CVE-2021-37220 mupdf: out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: mjg
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: 2021-07-23 09:55:11 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: 1985254    
Bug Blocks:    

Description Marian Rehak 2021-07-23 09:04:21 UTC
MuPDF through 1.18.1 has an out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table. This can, for example, be seen with crafted "mutool draw" input.

Reference:

https://bugs.ghostscript.com/show_bug.cgi?id=703791
http://git.ghostscript.com/?p=mupdf.git;h=f5712c9949d026e4b891b25837edd2edc166151f

Comment 1 Marian Rehak 2021-07-23 09:04:57 UTC
Created mupdf tracking bugs for this issue:

Affects: fedora-all [bug 1985254]

Comment 2 Product Security DevOps Team 2021-07-23 09:55:11 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.