Double Free in GDAL - CVE-2019-17545

 

Double Free in GDAL - CVE-2019-17545

Published: November 10, 2019


Vulnerability identifier: #VU22614
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-17545
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the OGRExpatRealloc() function in ogr/ogr_expat.cpp. A remote attacker can pass a large amount of data to the application (more than 10M), trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

GDAL
Debian Linux
SUSE Linux
Opensuse
Fedora
Oracle Database Server
gdal (Debian package)
mingw-gdal
mingw-cfitsio

How to mitigate CVE-2019-17545

Install updates from vendor's website.

GDAL - addressed in versions 2.4.3, 3.0.2
gdal (Debian package) - addressed in versions 1.10.1+dfsg-8+deb8u1, 2.1.2+dfsg-5+deb9u1, 2.4.0+dfsg-1+deb10u1
mingw-gdal - addressed in versions 2.3.2-7.fc30, 2.3.2-14.fc31
mingw-cfitsio - update to 3.470-2.fc31

External References

Related Security Bulletins