CVE-2019-25050: PYSEC-2021-888 - netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from…

CVE-2019-25050 · Severity: low · CVSS 3.1 · Published 2021-07-20

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

Technologies: GDAL (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2019-25050 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-25050 being exploited in the wild.
How severe is CVE-2019-25050?
Low severity, with a CVSS score of 3.1, published 20 July 2021.
Which products and versions are affected?
GDAL (PyPI) GIT:introduced=0,fixed=767e3a56144f676ca738ef8f700e0e56035bd05a,fixed=27b9bf644bcf1208f7d6594bdd104cc8a8bb0646|ECOSYSTEM:introduced=2.4.2,fixed=3.1.0.
Is there a fix for CVE-2019-25050?
Yes. GDAL (PyPI): upgrade to 3.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-25050?
Check whether you run GDAL (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • GDAL (PyPI): upgrade to 3.1.0 or later
    pip install "GDAL>=3.1.0"

Affected products

  • GDAL (PyPI) GIT:introduced=0,fixed=767e3a56144f676ca738ef8f700e0e56035bd05a,fixed=27b9bf644bcf1208f7d6594bdd104cc8a8bb0646|ECOSYSTEM:introduced=2.4.2,fixed=3.1.0

Identifiers

  • CVE-2019-25050
  • PYSEC-2021-888

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.