HIGH7.8
PYSEC-2021-888
Quick fix
PYSEC-2021-888 — gdal: upgrade to the fixed version with the command below.
pip install --upgrade 'gdal>=767e3a56144f676ca738ef8f700e0e56035bd05a'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).
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/gdal
Introduced in:
0Fixed in: 767e3a56144f676ca738ef8f700e0e56035bd05aFix
pip install --upgrade 'gdal>=767e3a56144f676ca738ef8f700e0e56035bd05a'References
- https://github.com/OSGeo/gdal/commit/767e3a56144f676ca738ef8f700e0e56035bd05a[FIX]
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2020-420.yaml[WEB]
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15143[WEB]
- https://github.com/OSGeo/gdal/commit/27b9bf644bcf1208f7d6594bdd104cc8a8bb0646[FIX]
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15156[WEB]
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2020-392.yaml[WEB]