Bug 1939193 (CVE-2020-36277)

Summary: CVE-2020-36277 leptonica: DoS via an incorrect left shift in pixConvert2To8 in pixconv.c
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 incorrect shift in pixConvert2To8 function may allow an attacker to crash an application using leptonica. The highest threat from this vulnerability is to the availability of the application.
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: 1939194, 1939195, 1939196, 1942945    
Bug Blocks: 1939215    

Description Guilherme de Almeida Suckevicz 2021-03-15 17:46:39 UTC
Leptonica before 1.80.0 allows a denial of service (application crash) via an incorrect left shift in pixConvert2To8 in pixconv.c.

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

Upstream patch:
https://github.com/DanBloomberg/leptonica/pull/499

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

Affects: epel-7 [bug 1939196]
Affects: fedora-all [bug 1939194]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1939195]