Bug 1767841 (CVE-2019-15142)

Summary: CVE-2019-15142 djvulibre: heap-based buffer overflow in GStringRep::strdup in libdjvu/GString.cpp
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brian, manisandro, mkasik
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-27 10:50:20 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: 1767842, 1767843, 1767844, 1767845    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2019-11-01 14:06:28 UTC
In DjVuLibre 3.5.27, DjVmDir.cpp in the DJVU reader component allows attackers to cause a denial-of-service (application crash in GStringRep::strdup in libdjvu/GString.cpp caused by a heap-based buffer over-read) by crafting a DJVU file.

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

Upstream commit:
https://sourceforge.net/p/djvu/djvulibre-git/ci/970fb11a296b5bbdc5e8425851253d2c5913c45e/

Comment 1 Guilherme de Almeida Suckevicz 2019-11-01 14:07:34 UTC
Created djvulibre tracking bugs for this issue:

Affects: epel-6 [bug 1767844]
Affects: epel-7 [bug 1767845]
Affects: fedora-all [bug 1767842]


Created mingw-djvulibre tracking bugs for this issue:

Affects: fedora-all [bug 1767843]