Name | CVE-2024-28757 |
Description | libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1065868 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
expat (PTS) | jessie, jessie (lts) | 2.1.0-6+deb8u12 | vulnerable |
| stretch (security) | 2.2.0-2+deb9u5 | vulnerable |
| stretch (lts), stretch | 2.2.0-2+deb9u9 | vulnerable |
| buster, buster (lts) | 2.2.6-2+deb10u8 | vulnerable |
| buster (security) | 2.2.6-2+deb10u7 | vulnerable |
| bullseye | 2.2.10-2+deb11u5 | vulnerable |
| bullseye (security) | 2.2.10-2+deb11u6 | vulnerable |
| bookworm (security), bookworm | 2.5.0-1+deb12u1 | vulnerable |
| sid, trixie | 2.6.4-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 | (unstable) | 2.6.1-2 | unimportant | | 1065868 |
Notes
https://github.com/libexpat/libexpat/pull/842
https://github.com/libexpat/libexpat/issues/839
Fixed by: https://github.com/libexpat/libexpat/commit/1d50b80cf31de87750103656f6eb693746854aa8
Tests: https://github.com/libexpat/libexpat/commit/072eca0b72373da103ce15f8f62d1d7b52695454
Expat provides API to mitigate expansion attacks, ultimately under control of the app using Expat
Cf. Billion laughs attack assessment for src:expat in CVE-2013-0340.