CVE-2021-42521
JSON

7.5high

VTK NULL pointer dereference vulnerability

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.35% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
fedora
Also known as
GHSA-xfhg-9pjg-xg7gPYSEC-2022-255

Description

There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx. The vendor didn't check the return value of libxml2 API 'xmlDocGetRootElement', and try to dereference it. It is unsafe as the return value can be NULL and that NULL pointer dereference may crash the application.

Affected

Product or packageVersionsReported by
vtkVTK - 9.0.0 and beforeCVE List
vtk (PyPI)before 9.0.1GitHub Advisory Database, PyPA Advisory Database
vtk vtkup to 9.0.0NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx. The vendor didn't check the return value of libxml2 API 'xmlDocGetRootElement', and try to dereference it. It is unsafe as the return value can be NULL and that NULL pointer dereference may crash the application.

GitHub Advisory Database

There is a NULL pointer dereference vulnerability in VTK, and it lies in IO/Infovis/vtkXMLTreeReader.cxx. The vendor didn't check the return value of libxml2 API 'xmlDocGetRootElement', and try to dereference it. It is unsafe as the return value can be NULL and that NULL pointer dereference may crash the application.

NVD (es)

Se presenta una vulnerabilidad de desreferencia de puntero NULL en VTK, y es encontrada en el archivo IO/Infovis/vtkXMLTreeReader.cxx. El proveedor no ha comprobado el valor de retorno de la API "xmlDocGetRootElement" de libxml2, e intenta des referenciarlo. No es seguro ya que el valor de retorno puede ser NULL y esa desreferencia de puntero NULL puede bloquear la aplicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-42521 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-xfhg-9pjg-xg7g changed 2024-11-18CC-BY-4.0
NVDCVE-2021-42521 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2022-255 changed 2023-11-08CC-BY-4.0