7.5high
VTK NULL pointer dereference vulnerability
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.35% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- fedora
- Also known as
- GHSA-xfhg-9pjg-xg7gPYSEC-2022-255
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vtk | VTK - 9.0.0 and before | CVE List |
| vtk (PyPI) | before 9.0.1 | GitHub Advisory Database, PyPA Advisory Database |
| vtk vtk | up to 9.0.0 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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 (es)
Se presenta una vulnerabilidad de desreferencia de puntero NULL en VTK, y es encontrada en el archivo IO/Infovis/vtkXMLTreeReader.cxx. El proveedor no ha comprobado el valor de retorno de la API "xmlDocGetRootElement" de libxml2, e intenta des referenciarlo. No es seguro ya que el valor de retorno puede ser NULL y esa desreferencia de puntero NULL puede bloquear la aplicación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42521 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xfhg-9pjg-xg7g changed 2024-11-18 | CC-BY-4.0 |
| NVD | CVE-2021-42521 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2022-255 changed 2023-11-08 | CC-BY-4.0 |