expat: improper restriction of xml entity expansion depth
[email protected] reports: A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory …
Affected versions
- expat < 2.7.0
By system
0 still vulnerable, 2 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.
| System | Port | Version | State | Fixed |
|---|---|---|---|---|
| DragonFly | textproc/expat2 | 2.7.0 | fixed | |
| NetBSD | textproc/expat | 2.8.5 | not listed | |
| MidnightBSD | textproc/expat2 | 2.9.0 | out of range, by version | |
| FreeBSD | textproc/expat2 | 2.9.0 | fixed | (498 days after) |