Skip to content
OpenAdvisories
High · 7.8 CVE-2019-25050 EUVD-2021-0091GHSA-723m-9g33-2g82PYSEC-2021-888

netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from nc4_get_att_tc and nc_get_att_text) and in…

Published Jul 20, 2021 · Updated Aug 5, 2024 · Assigned by mitre

Description

netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from nc4_get_att_tc and nc_get_att_text) and in uffd_cleanup (called from netCDFDataset::~netCDFDataset and netCDFDataset::~netCDFDataset).

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gdal 3.1.0+dfsg-1 —
Debian 13 gdal 3.1.0+dfsg-1 —
Debian 12 gdal 3.1.0+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gdal No fix yet —
Ubuntu Pro 16.04 LTS gdal No fix yet —
Ubuntu Pro 14.04 LTS gdal No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI gdal >= 2.4.2, < 3.1.0 3.1.0 PYSEC-2021-888

References