CVE-2021-31347

NameCVE-2021-31347
DescriptionAn issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_parse_str() performs incorrect memory handling while parsing crafted XML files (writing outside a memory region created by mmap).
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)jessie1.2.1-2vulnerable
stretch1.4.1-3vulnerable
buster1.6.1-3vulnerable
bullseye1.10.0-2vulnerable
bookworm1.14.0-1vulnerable
sid, trixie1.14.1-1vulnerable
netcdf (PTS)jessie1:4.1.3-7.2fixed
stretch1:4.4.1.1-2fixed
buster1:4.6.2-1vulnerable
bullseye1:4.7.4-1vulnerable
bookworm1:4.9.0-3fixed
sid, trixie1:4.9.2-7fixed
netcdf-parallel (PTS)buster1:4.6.2-1vulnerable
bullseye1:4.7.4-1vulnerable
bookworm1:4.9.0-1fixed
trixie1:4.9.0-5fixed
sid1:4.9.0-6fixed
scilab (PTS)jessie5.5.1-7vulnerable
stretch (security), stretch (lts), stretch5.5.2-4+deb9u1fixed
buster6.0.1-10+deb10u1vulnerable
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
netcdfsourcejessie(not affected)
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

[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/27/
mapcache only uses ezxml to parse config files which are trusted
[jessie] - netcdf <not-affected> (vulnerable code introduced later)

Search for package or bug name: Reporting problems