CVE-2021-42521: VTK NULL pointer dereference vulnerability
(updated )
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.
References
- discourse.vtk.org/t/vtk-9-2-5-is-out/10549
- github.com/advisories/GHSA-xfhg-9pjg-xg7g
- github.com/pypa/advisory-database/tree/main/vulns/vtk/PYSEC-2022-255.yaml
- gitlab.kitware.com/vtk/vtk
- gitlab.kitware.com/vtk/vtk/issues/17818
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK
- nvd.nist.gov/vuln/detail/CVE-2021-42521
Detect and mitigate CVE-2021-42521 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →