CVE-2021-45943: PYSEC-2022-43065 - GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile…

CVE-2021-45943 · Severity: low · CVSS 3.1 · Published 2022-01-01

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).

Technologies: GDAL (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-45943 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-45943 being exploited in the wild.
How severe is CVE-2021-45943?
Low severity, with a CVSS score of 3.1, published 1 January 2022.
Which products and versions are affected?
GDAL (PyPI) GIT:introduced=0,fixed=1ca6a3e5168c200763fa46d8aa7e698d0b757e7e|ECOSYSTEM:introduced=3.3.0,fixed=3.4.1.
Is there a fix for CVE-2021-45943?
Yes. GDAL (PyPI): upgrade to 3.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-45943?
Check whether you run GDAL (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • GDAL (PyPI): upgrade to 3.4.1 or later
    pip install "GDAL>=3.4.1"

Affected products

  • GDAL (PyPI) GIT:introduced=0,fixed=1ca6a3e5168c200763fa46d8aa7e698d0b757e7e|ECOSYSTEM:introduced=3.3.0,fixed=3.4.1

Identifiers

  • CVE-2021-45943
  • PYSEC-2022-43065

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.