Debian DLA-3129-1 : gdal - LTS security update

critical Nessus Plugin ID 165604

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3129 advisory.

- GDAL through 3.0.1 has a poolDestroy double free in OGRExpatRealloc in ogr/ogr_expat.cpp when the 10MB threshold is exceeded. (CVE-2019-17545)

- 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).
(CVE-2021-45943)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the gdal packages.

For Debian 10 buster, these problems have been fixed in version 2.4.0+dfsg-1+deb10u1.

See Also

https://security-tracker.debian.org/tracker/source-package/gdal

https://www.debian.org/lts/security/2022/dla-3129

https://security-tracker.debian.org/tracker/CVE-2019-17545

https://security-tracker.debian.org/tracker/CVE-2021-45943

https://packages.debian.org/source/buster/gdal

Plugin Details

Severity: Critical

ID: 165604

File Name: debian_DLA-3129.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/30/2022

Updated: 10/10/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2019-17545

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libgdal20, p-cpe:/a:debian:debian_linux:gdal-data, p-cpe:/a:debian:debian_linux:libgdal-dev, p-cpe:/a:debian:debian_linux:gdal-bin, p-cpe:/a:debian:debian_linux:python-gdal, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libgdal-doc, p-cpe:/a:debian:debian_linux:libgdal-java, p-cpe:/a:debian:debian_linux:libgdal-perl-doc, p-cpe:/a:debian:debian_linux:libgdal-perl, p-cpe:/a:debian:debian_linux:python3-gdal

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/1/2022

Vulnerability Publication Date: 10/14/2019

Reference Information

CVE: CVE-2019-17545, CVE-2021-45943