| 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 |
| Debian Bugs | 1002994 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| expat (PTS) | bullseye (security), bullseye | 2.2.10-2+deb11u5 | fixed |
| bookworm | 2.5.0-1 | fixed | |
| trixie, sid | 2.6.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| 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)