Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vtk | Vtk | <= 9.0.0 |
Related Weaknesses (CWE)
References
- https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549
- https://gitlab.kitware.com/vtk/vtk/issues/17818ExploitIssue TrackingThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549
- https://gitlab.kitware.com/vtk/vtk/issues/17818ExploitIssue TrackingThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
FAQ
What is CVE-2021-42521?
CVE-2021-42521 is a vulnerability with a CVSS score of 7.5 (HIGH). 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', a...
How severe is CVE-2021-42521?
CVE-2021-42521 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-42521?
Check the references section above for vendor advisories and patch information. Affected products include: Vtk Vtk.