Bug 2016493 (CVE-2021-3889)

Summary: CVE-2021-3889 libmobi: out-of-bounds read due to incomplete check in mobi_decompress_huffman_internal() in src/compression.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: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, sergey.avseyev
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-10-21 20:08:27 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: 2016494    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-10-21 17:56:47 UTC
libmobi is vulnerable to use of out-of-range pointer offset.

Reference:
https://huntr.dev/bounties/efb3e261-3f7d-4a45-8114-e0ace6b21516

Upstream patch:
https://github.com/bfabiszewski/libmobi/commit/bec783e6212439a335ba6e8df7ab8ed610ca9a21

Comment 1 Guilherme de Almeida Suckevicz 2021-10-21 17:57:00 UTC
Created libmobi tracking bugs for this issue:

Affects: fedora-all [bug 2016494]

Comment 2 Product Security DevOps Team 2021-10-21 20:08:27 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.