Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. gdal
  4. ›
  5. CVE-2021-45943

CVE-2021-45943: Out-of-bounds Write

January 1, 2022 (updated November 7, 2023)

GDAL has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile (called from PCIDSK::CPCIDSKSegment::ReadFromFile and PCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment).

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993
  • github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e
  • github.com/OSGeo/gdal/pull/4944
  • github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-45943

Code Behaviors & Features

Detect and mitigate CVE-2021-45943 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.3.0 up to 3.4.0

Fixed versions

  • 3.4.1

Solution

Upgrade to version 3.4.1 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

conan/gdal/CVE-2021-45943.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:04 +0000.