CVE Vulnerabilities

CVE-2019-20007

NULL Pointer Dereference

Published: Dec 26, 2019 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
EzxmlEzxml_project0.8.2 (including)0.8.6 (including)
MapcacheUbuntubionic*
MapcacheUbuntudevel*
MapcacheUbuntuesm-apps/bionic*
MapcacheUbuntuesm-apps/focal*
MapcacheUbuntuesm-apps/jammy*
MapcacheUbuntuesm-apps/noble*
MapcacheUbuntuesm-apps/xenial*
MapcacheUbuntufocal*
MapcacheUbuntugroovy*
MapcacheUbuntuhirsute*
MapcacheUbuntuimpish*
MapcacheUbuntujammy*
MapcacheUbuntukinetic*
MapcacheUbuntulunar*
MapcacheUbuntumantic*
MapcacheUbuntunoble*
MapcacheUbuntuoracular*
MapcacheUbuntuplucky*
MapcacheUbuntuquesting*
MapcacheUbuntutrusty*
MapcacheUbuntuupstream*
MapcacheUbuntuxenial*
NetcdfUbuntubionic*
NetcdfUbuntuesm-apps/focal*
NetcdfUbuntuesm-apps/jammy*
NetcdfUbuntufocal*
NetcdfUbuntugroovy*
NetcdfUbuntuhirsute*
NetcdfUbuntuimpish*
NetcdfUbuntujammy*
NetcdfUbuntukinetic*
NetcdfUbuntulunar*
NetcdfUbuntumantic*
NetcdfUbuntutrusty*
NetcdfUbuntutrusty/esm*
NetcdfUbuntuupstream*
NetcdfUbuntuxenial*
Netcdf-parallelUbuntuesm-apps/focal*
Netcdf-parallelUbuntuesm-apps/jammy*
Netcdf-parallelUbuntufocal*
Netcdf-parallelUbuntugroovy*
Netcdf-parallelUbuntuhirsute*
Netcdf-parallelUbuntuimpish*
Netcdf-parallelUbuntujammy*
Netcdf-parallelUbuntukinetic*
Netcdf-parallelUbuntulunar*
Netcdf-parallelUbuntumantic*
Netcdf-parallelUbuntuoracular*
Netcdf-parallelUbuntutrusty*
Netcdf-parallelUbuntuupstream*
Netcdf-parallelUbuntuxenial*
ScilabUbuntubionic*
ScilabUbuntudevel*
ScilabUbuntuesm-apps/bionic*
ScilabUbuntuesm-apps/focal*
ScilabUbuntuesm-apps/jammy*
ScilabUbuntuesm-apps/noble*
ScilabUbuntufocal*
ScilabUbuntugroovy*
ScilabUbuntuhirsute*
ScilabUbuntuimpish*
ScilabUbuntujammy*
ScilabUbuntukinetic*
ScilabUbuntulunar*
ScilabUbuntumantic*
ScilabUbuntunoble*
ScilabUbuntuoracular*
ScilabUbuntuplucky*
ScilabUbuntuquesting*
ScilabUbuntutrusty*
ScilabUbuntuxenial*

Potential Mitigations

References