CVE-2021-45960

NameCVE-2021-45960
DescriptionIn Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs1002994

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
expat (PTS)stretch (security), stretch2.2.0-2+deb9u3vulnerable
buster, buster (security)2.2.6-2+deb10u1vulnerable
bullseye2.2.10-2vulnerable
bookworm2.4.3-1fixed
sid2.4.3-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
expatsource(unstable)2.4.3-11002994

Notes

[bullseye] - expat <no-dsa> (Minor issue; can be fixed via point release)
[buster] - expat <no-dsa> (Minor issue; can be fixed via point release)
[stretch] - expat <no-dsa> (Minor issue)
https://github.com/libexpat/libexpat/issues/531
https://github.com/libexpat/libexpat/pull/534

Search for package or bug name: Reporting problems