CVE-2021-42521

unknown
Published 2022-08-26 ยท Modified 2023-11-08
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker ยท View original โ†— ยท DFSG

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;โ€ฆ

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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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-5+deb12u1vulnerable
trixie9.3.0+dfsg1-4fixed
forky, sid9.5.2+dfsg4-5fixed

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 <ignored> (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

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[bookworm] - vtk9 <ignored> (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

OS impact

OSVersionStatusFixed in
debian debianbullseyeaffected
debian debianbookwormaffected
debian debianforkyfixed9.1.0+really9.1.0+dfsg2-8
debian debiansidfixed9.1.0+really9.1.0+dfsg2-8
debian debiantrixiefixed9.1.0+really9.1.0+dfsg2-8

Package impact

EcosystemPackageVulnerableFixed
python PyPIvtk<9.0.19.0.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.