Advisory

PYSEC-2021-888

Also known as: CVE-2019-25050

Summary

The record has no summary.

Details

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

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2021-07-20 07:15 UTC
Modified
2024-11-21 14:57 UTC

Affected packages and fixes

gdal

PyPI · All systems

Affected

  • introduced 2.4.2, fixed 3.1.0 (ecosystem)

Fixed versions

3.1.0

Fix

  • Fixed version 3.1.0
    pip install --upgrade gdal==3.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences