Vulnerabilities > CVE-2021-42521 - NULL Pointer Dereference vulnerability in VTK
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
NONE Integrity impact
NONE Availability impact
HIGH Summary
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.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
References
- https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549
- https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549
- https://gitlab.kitware.com/vtk/vtk/issues/17818
- https://gitlab.kitware.com/vtk/vtk/issues/17818
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/