In short
- CVE-2021-42521 is a HIGH (CVSS 7.5) vulnerability affecting vtk, vtk (vtk).
- Chance of exploitation in the next 30 days (EPSS): 1.3%, higher than 70.8% of all vulnerabilities.
- Fix: update to 9.0.1 or later.
| Package | Affected versions | Patched versions |
|---|
| vtk PyPI | < 9.0.1
| 9.0.1
|
| vtk | ≤ 9.0.0
| No fix yet |
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free