CVE-2021-31598

NameCVE-2021-31598
DescriptionAn issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_decode() performs incorrect memory handling while parsing crafted XML files, leading to a heap-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2705-1
Debian Bugs989360, 989361, 989363, 989364

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mapcache (PTS)bullseye1.10.0-2vulnerable
bookworm1.14.0-1vulnerable
sid, trixie1.14.1-1vulnerable
netcdf (PTS)bullseye1:4.7.4-1vulnerable
bookworm1:4.9.0-3fixed
sid, trixie1:4.9.2-7fixed
netcdf-parallel (PTS)bullseye1:4.7.4-1vulnerable
bookworm1:4.9.0-1fixed
trixie1:4.9.0-4fixed
sid1:4.9.0-5fixed
scilab (PTS)bullseye6.1.0+dfsg1-7vulnerable
bookworm6.1.1+dfsg2-6vulnerable
sid, trixie2024.1.0+dfsg-6vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mapcachesource(unstable)(unfixed)unimportant989363
netcdfsourcestretch(not affected)
netcdfsource(unstable)1:4.9.0-1989360
netcdf-parallelsource(unstable)1:4.9.0-1989361
scilabsourcestretch5.5.2-4+deb9u1DLA-2705-1
scilabsource(unstable)(unfixed)unimportant989364

Notes

[stretch] - mapcache <no-dsa> (Minor issue)
[bullseye] - netcdf <ignored> (Minor issue)
[buster] - netcdf <ignored> (Minor issue)
[stretch] - netcdf <not-affected> (vulnerable code not present)
[bullseye] - netcdf-parallel <ignored> (Minor issue)
[buster] - netcdf-parallel <ignored> (Minor issue)
https://sourceforge.net/p/ezxml/bugs/28/
mapcache only uses ezxml to parse config files which are trusted

Search for package or bug name: Reporting problems