Bug 1994719 (CVE-2021-38593)

Summary: CVE-2021-38593 qt: out-of-bounds write in QOutlineMapper::convertPath called from QRasterPaintEngine::fill and QPaintEngineEx::stroke
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: erik-fedora, helio, jgrulich, jreznik, kasal, kde-sig, kevin, manisandro, me, rdieter, smparrish, than
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-08-25 00:35:14 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: 1994720, 1994721, 1994722, 1994723, 1994724, 1994725, 1996874, 1996875, 1996876, 1996877    
Bug Blocks: 1994727    

Description Guilherme de Almeida Suckevicz 2021-08-17 18:51:32 UTC
Qt 5.0.0 through 6.1.2 has an out-of-bounds write in QOutlineMapper::convertPath (called from QRasterPaintEngine::fill and QPaintEngineEx::stroke).

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

Upstream patches:
https://github.com/qt/qtbase/commit/6b400e3147dcfd8cc3a393ace1bd118c93762e0c
https://github.com/qt/qtbase/commit/1ca02cf2879a5e1511a2f2109f0925cf4c892862
https://github.com/qt/qtbase/commit/202143ba41f6ac574f1858214ed8bf4a38b73ccd

Comment 1 Guilherme de Almeida Suckevicz 2021-08-17 18:52:06 UTC
Created mingw-qt5-qtbase tracking bugs for this issue:

Affects: fedora-all [bug 1994723]


Created qt tracking bugs for this issue:

Affects: fedora-all [bug 1994720]


Created qt5 tracking bugs for this issue:

Affects: fedora-all [bug 1994721]


Created qt5-qtbase tracking bugs for this issue:

Affects: fedora-all [bug 1994724]


Created qt6 tracking bugs for this issue:

Affects: fedora-all [bug 1994722]


Created qt6-qtbase tracking bugs for this issue:

Affects: fedora-all [bug 1994725]

Comment 2 devthomp 2021-08-23 17:40:10 UTC
NIST adjustment requested.

Comment 5 devthomp 2021-08-23 23:52:08 UTC
In reply to comment #2:
> NIST adjustment requested.

Please disregard.

Comment 6 devthomp 2021-08-25 00:35:14 UTC
Trackers have been created, analysis complete.

Comment 7 errata-xmlrpc 2022-05-10 13:28:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:1796 https://access.redhat.com/errata/RHSA-2022:1796