NetSight
high7.5

CVE-2021-42521

VTK NULL pointer dereference vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipvtk>= 0, < 9.0.19.0.1

Affected products

VendorProductAffected versions
VtkVtk
through 9.0.0

Weakness classification

References