Bug 1977427 (CVE-2021-3630)

Summary: CVE-2021-3630 djvulibre: out-of-bounds write in DJVU::DjVuTXT::decode() in DjVuText.cpp
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: manisandro, mkasik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: DjVuLibre 3.5.28 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-29 22:40:34 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: 1977428, 1977429, 1977430    
Bug Blocks: 1977431    

Description Guilherme de Almeida Suckevicz 2021-06-29 17:56:05 UTC
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.

Reference:
https://sourceforge.net/p/djvu/bugs/302/

Upstream patch:
https://sourceforge.net/p/djvu/djvulibre-git/ci/7b0ef20690e08f1fe124aebbf42f6310e2f40f81/

Comment 1 Guilherme de Almeida Suckevicz 2021-06-29 17:56:29 UTC
Created djvulibre tracking bugs for this issue:

Affects: epel-7 [bug 1977430]
Affects: fedora-all [bug 1977428]


Created mingw-djvulibre tracking bugs for this issue:

Affects: fedora-all [bug 1977429]

Comment 2 Product Security DevOps Team 2021-06-29 22:40:34 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.