NULL Pointer Dereference Affecting netcdf package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.19% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-NETCDF-1305051
  • published15 Jun 2021
  • disclosed26 Dec 2019

Introduced: 26 Dec 2019

CVE-2019-20007  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 netcdf.

NVD Description

Note: Versions mentioned in the description apply only to the upstream netcdf package and not the netcdf package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

An issue was discovered in ezXML 0.8.2 through 0.8.6. The function ezxml_str2utf8, while parsing a crafted XML file, performs zero-length reallocation in ezxml.c, leading to returning a NULL pointer (in some compilers). After this, the function ezxml_parse_str does not check whether the s variable is not NULL in ezxml.c, leading to a NULL pointer dereference and crash (segmentation fault).

CVSS Base Scores

version 3.1