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). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2904-1, DSA-5073-1, ELA-556-1 |
Debian Bugs | 1002994 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
expat (PTS) | jessie, jessie (lts) | 2.1.0-6+deb8u12 | fixed |
stretch (security) | 2.2.0-2+deb9u5 | fixed | |
stretch (lts), stretch | 2.2.0-2+deb9u9 | fixed | |
buster, buster (lts) | 2.2.6-2+deb10u8 | fixed | |
buster (security) | 2.2.6-2+deb10u7 | fixed | |
bullseye | 2.2.10-2+deb11u5 | fixed | |
bullseye (security) | 2.2.10-2+deb11u6 | fixed | |
bookworm | 2.5.0-1 | fixed | |
bookworm (security) | 2.5.0-1+deb12u1 | fixed | |
sid, trixie | 2.6.3-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
expat | source | jessie | 2.1.0-6+deb8u7 | ELA-556-1 | ||
expat | source | stretch | 2.2.0-2+deb9u4 | DLA-2904-1 | ||
expat | source | buster | 2.2.6-2+deb10u2 | DSA-5073-1 | ||
expat | source | bullseye | 2.2.10-2+deb11u1 | DSA-5073-1 | ||
expat | source | (unstable) | 2.4.3-1 | 1002994 |
https://github.com/libexpat/libexpat/issues/531
https://github.com/libexpat/libexpat/pull/534
Fixed by: https://github.com/libexpat/libexpat/commit/0adcb34c49bee5b19bd29b16a578c510c23597ea (R_2_4_3)