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)buster6.3.0+dfsg2-2vulnerable
bullseye6.3.0+dfsg2-8.1vulnerable
vtk7 (PTS)buster7.1.1+dfsg1-12vulnerable
bullseye7.1.1+dfsg2-8vulnerable
vtk9 (PTS)bullseye9.0.1+dfsg1-8vulnerable
bookworm9.1.0+really9.1.0+dfsg2-5vulnerable
trixie9.1.0+really9.1.0+dfsg2-7vulnerable
sid9.1.0+really9.1.0+dfsg2-7.1vulnerable

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)(unfixed)1031877

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