CVE-2021-42521

NULL Pointer Dereference in pypi/vtk

Identifiers

GHSA-xfhg-9pjg-xg7g, CVE-2021-42521

Package Slug

pypi/vtk

Vulnerability

NULL Pointer Dereference

Description

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 Versions

All versions starting from 0 before 9.0.1

Solution

Upgrade to version 9.0.1 or above.

Last Modified

2022-09-19

source