CVE-2021-45960

Name
CVE-2021-45960
Description
In 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).
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/libexpat/libexpat/issues/531
MISC https://github.com/libexpat/libexpat/pull/534
MISC https://bugzilla.mozilla.org/show_bug.cgi?id=1217609
Exploit http://www.openwall.com/lists/oss-security/2022/01/17/3
Third Party Advisory https://security.netapp.com/advisory/ntap-20220121-0004/
Third Party Advisory https://www.tenable.com/security/tns-2022-05
Issue Tracking https://www.debian.org/security/2022/dsa-5073
Patch https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
Third Party Advisory https://security.gentoo.org/glsa/202209-24

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* libexpat >= None < 2.4.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
expat edge-main 2.4.3-r0 Carlo Landmeter <clandmeter@alpinelinux.org> fixed
expat 3.22-main 2.4.3-r0 None fixed
expat 3.21-main 2.4.3-r0 None fixed
expat 3.20-main 2.4.3-r0 None fixed
expat 3.19-main 2.4.3-r0 None fixed
expat 3.18-main 2.4.3-r0 None fixed
expat 3.17-main 2.4.3-r0 None fixed
expat 3.12-main 2.2.10-r0 Carlo Landmeter <clandmeter@gmail.com> fixed