ubuntu-cve-2021-45943
Vulnerability from osv_ubuntu
Published
2022-01-01 01:15
Modified
2026-05-29 10:25
Summary
Details

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


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdal-bin",
            "binary_version": "1.10.1+dfsg-5ubuntu1+esm2"
          },
          {
            "binary_name": "libgdal-java",
            "binary_version": "1.10.1+dfsg-5ubuntu1+esm2"
          },
          {
            "binary_name": "libgdal-perl",
            "binary_version": "1.10.1+dfsg-5ubuntu1+esm2"
          },
          {
            "binary_name": "libgdal1h",
            "binary_version": "1.10.1+dfsg-5ubuntu1+esm2"
          },
          {
            "binary_name": "python-gdal",
            "binary_version": "1.10.1+dfsg-5ubuntu1+esm2"
          },
          {
            "binary_name": "python3-gdal",
            "binary_version": "1.10.1+dfsg-5ubuntu1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "gdal",
        "purl": "pkg:deb/ubuntu/gdal@1.10.1+dfsg-5ubuntu1+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.9.0-3.1ubuntu4",
        "1.9.0-3.1ubuntu6",
        "1.10.1+dfsg-2",
        "1.10.1+dfsg-2build1",
        "1.10.1+dfsg-3",
        "1.10.1+dfsg-3build1",
        "1.10.1+dfsg-3build2",
        "1.10.1+dfsg-3ubuntu1",
        "1.10.1+dfsg-3ubuntu2",
        "1.10.1+dfsg-5ubuntu1",
        "1.10.1+dfsg-5ubuntu1+esm1",
        "1.10.1+dfsg-5ubuntu1+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdal-bin",
            "binary_version": "1.11.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "libgdal-java",
            "binary_version": "1.11.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "libgdal-perl",
            "binary_version": "1.11.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "libgdal1i",
            "binary_version": "1.11.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "python-gdal",
            "binary_version": "1.11.3+dfsg-3ubuntu0.1~esm1"
          },
          {
            "binary_name": "python3-gdal",
            "binary_version": "1.11.3+dfsg-3ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "gdal",
        "purl": "pkg:deb/ubuntu/gdal@1.11.3+dfsg-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.11.2+dfsg-3ubuntu3",
        "1.11.2+dfsg-3ubuntu4",
        "1.11.3+dfsg-2build1",
        "1.11.3+dfsg-2build2",
        "1.11.3+dfsg-2build3",
        "1.11.3+dfsg-3",
        "1.11.3+dfsg-3build1",
        "1.11.3+dfsg-3build2",
        "1.11.3+dfsg-3ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdal-bin",
            "binary_version": "2.2.3+dfsg-2"
          },
          {
            "binary_name": "gdal-data",
            "binary_version": "2.2.3+dfsg-2"
          },
          {
            "binary_name": "libgdal-java",
            "binary_version": "2.2.3+dfsg-2"
          },
          {
            "binary_name": "libgdal-perl",
            "binary_version": "2.2.3+dfsg-2"
          },
          {
            "binary_name": "libgdal20",
            "binary_version": "2.2.3+dfsg-2"
          },
          {
            "binary_name": "python-gdal",
            "binary_version": "2.2.3+dfsg-2"
          },
          {
            "binary_name": "python3-gdal",
            "binary_version": "2.2.3+dfsg-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "gdal",
        "purl": "pkg:deb/ubuntu/gdal@2.2.3+dfsg-2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.1+dfsg-2build3",
        "2.2.1+dfsg-2build5",
        "2.2.2+dfsg-2build1",
        "2.2.3+dfsg-1",
        "2.2.3+dfsg-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdal-bin",
            "binary_version": "3.0.4+dfsg-1build3"
          },
          {
            "binary_name": "gdal-data",
            "binary_version": "3.0.4+dfsg-1build3"
          },
          {
            "binary_name": "libgdal-java",
            "binary_version": "3.0.4+dfsg-1build3"
          },
          {
            "binary_name": "libgdal-perl",
            "binary_version": "3.0.4+dfsg-1build3"
          },
          {
            "binary_name": "libgdal26",
            "binary_version": "3.0.4+dfsg-1build3"
          },
          {
            "binary_name": "python3-gdal",
            "binary_version": "3.0.4+dfsg-1build3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gdal",
        "purl": "pkg:deb/ubuntu/gdal@3.0.4+dfsg-1build3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.4.2+dfsg-1build2",
        "2.4.2+dfsg-1build4",
        "2.4.2+dfsg-2",
        "2.4.3+dfsg-1",
        "3.0.4+dfsg-1",
        "3.0.4+dfsg-1build1",
        "3.0.4+dfsg-1build2",
        "3.0.4+dfsg-1build3"
      ]
    }
  ],
  "aliases": [],
  "details": "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).",
  "id": "UBUNTU-CVE-2021-45943",
  "modified": "2026-05-29T10:25:14Z",
  "published": "2022-01-01T01:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-45943"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/OSGeo/gdal/pull/4944"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/OSGeo/gdal/commit/93913a849dc1d217a40dbf9d6e6a3a23c42b61a6"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/OSGeo/gdal/commit/9b2bcbc47d1649adc0ab65b801f96f56156cf017"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-45943"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-45943"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…