Bug 1939206 (CVE-2020-36279)

Summary: CVE-2020-36279 leptonica: heap-based buffer overflow in rasteropGeneralLow
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dchen, jkucera, manisandro
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in leptonica. A heap-based buffer over-read in the rasteropGeneralLow function may allow an attacker to read data from an application using leptonica. The highest threat from this vulnerability is to data confidentiality.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-28 14:08:02 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: 1939207, 1939208, 1939209, 1942947    
Bug Blocks: 1939215    

Description Guilherme de Almeida Suckevicz 2021-03-15 17:58:50 UTC
Leptonica before 1.80.0 allows a heap-based buffer over-read in rasteropGeneralLow, related to adaptmap_reg.c and adaptmap.c.

Reference:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22512

Upstream patch:
https://github.com/DanBloomberg/leptonica/commit/3c18c43b6a3f753f0dfff99610d46ad46b8bfac4

Comment 1 Guilherme de Almeida Suckevicz 2021-03-15 17:59:14 UTC
Created leptonica tracking bugs for this issue:

Affects: epel-7 [bug 1939209]
Affects: fedora-all [bug 1939207]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1939208]