Heap-based Buffer Overflow Affecting osgeo/gdal package, versions [,3.5.0-RC1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OSGEOGDAL-6056856
  • published14 Nov 2023
  • disclosed1 Jan 2022
  • creditUnknown

Introduced: 1 Jan 2022

CVE-2021-45943  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade osgeo/gdal to version 3.5.0-RC1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the PCIDSK::CPCIDSKFile::ReadFromFile function, which is called from PCIDSK::CPCIDSKSegment::ReadFromFile and PCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment. An attacker can exploit this vulnerability by sending specially crafted data.

CVSS Base Scores

version 3.1