Advisory

GHSA-xfhg-9pjg-xg7g

Also known as: CVE-2021-42521, PYSEC-2022-255

Summary

VTK NULL pointer dereference vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-08-26 00:03 UTC
Modified
2024-11-18 23:23 UTC

Affected packages and fixes

vtk

PyPI · All systems

Affected

  • introduced 0, fixed 9.0.1 (ecosystem)

Fixed versions

9.0.1

Fix

  • Fixed version 9.0.1
    pip install --upgrade vtk==9.0.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences