CVE-2021-42521

NameCVE-2021-42521
DescriptionThere 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1031877, 1034843, 1034844

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
vtk6 (PTS)bullseye6.3.0+dfsg2-8.1vulnerable
vtk7 (PTS)bullseye7.1.1+dfsg2-8vulnerable
vtk9 (PTS)bullseye9.0.1+dfsg1-8vulnerable
bookworm9.1.0+really9.1.0+dfsg2-5vulnerable
sid, trixie9.3.0+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
vtk6source(unstable)(unfixed)1034843
vtk7source(unstable)(unfixed)1034844
vtk9source(unstable)9.1.0+really9.1.0+dfsg2-81031877

Notes

[bookworm] - vtk9 <no-dsa> (Minor issue)
[bullseye] - vtk9 <no-dsa> (Minor issue)
[bullseye] - vtk7 <no-dsa> (Minor issue)
[buster] - vtk7 <no-dsa> (Minor issue)
[bullseye] - vtk6 <no-dsa> (Minor issue)
[buster] - vtk6 <no-dsa> (Minor issue)
https://gitlab.kitware.com/vtk/vtk/-/issues/17818

Search for package or bug name: Reporting problems