CVE-2021-42521

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

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
vtk6 (PTS)buster6.3.0+dfsg2-2vulnerable
sid, bullseye6.3.0+dfsg2-8.1vulnerable
vtk7 (PTS)buster7.1.1+dfsg1-12vulnerable
bullseye7.1.1+dfsg2-8vulnerable
bookworm, sid7.1.1+dfsg2-10.2vulnerable
vtk9 (PTS)bullseye9.0.1+dfsg1-8vulnerable
bookworm, sid9.1.0+really9.1.0+dfsg2-4vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
vtk6source(unstable)(unfixed)
vtk7source(unstable)(unfixed)
vtk9source(unstable)(unfixed)

Notes

[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