PT-2022-11605 · Libxml2+3 · Libxml2+3
Published
2020-03-25
·
Updated
2023-05-11
·
CVE-2021-42521
CVSS v4.0
8.7
High
| AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
VTK versions prior to 9.2.5
Description
The issue is a NULL pointer dereference vulnerability that lies in IO/Infovis/vtkXMLTreeReader.cxx. It occurs because the vendor did not check the return value of the libxml2 API
xmlDocGetRootElement and attempted to dereference it. This is unsafe as the return value can be NULL, potentially causing the application to crash.Recommendations
For versions prior to 9.2.5, update to version 9.2.5 or later to resolve the issue. As a temporary workaround, consider adding checks for the return value of the
xmlDocGetRootElement function to prevent NULL pointer dereferences.Exploit
Fix
NULL Pointer Dereference
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Debian
Vtk
Libxml2