Bug 2049015 (CVE-2021-45943)

Summary: CVE-2021-45943 gdal: heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alex, devrim, jmlich83, manisandro, neteler, oliver, pavel.lisy, pertusus, praiskup, volker27
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: 2022-02-01 14:01:15 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: 2049069, 2049070, 2049071    
Bug Blocks:    

Description Marian Rehak 2022-02-01 10:39:01 UTC
GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile (called from PCIDSK::CPCIDSKSegment::ReadFromFile and PCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment).

Reference:

https://github.com/OSGeo/gdal/pull/4944
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993

Comment 1 Marian Rehak 2022-02-01 13:40:24 UTC
Created gdal tracking bugs for this issue:

Affects: epel-all [bug 2049071]
Affects: fedora-all [bug 2049069]


Created mingw-gdal tracking bugs for this issue:

Affects: fedora-all [bug 2049070]

Comment 2 Product Security DevOps Team 2022-02-01 14:01:13 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.