Improper resource allocation In expat
Description
Expat through 2.8.3 contains a denial of service vulnerability caused by quadratic algorithmic complexity in the storeAtts() function in xmlparse.c, where processing N specified attributes with non-normalized values triggers an O(N^2) linear scan of elementType->defaultAtts to determine CDATA status. A remote unauthenticated attacker can supply a single well-formed XML document of a few megabytes to an application parsing untrusted XML to cause excessive CPU consumption, resulting in denial of service without requiring authentication, external entity resolution, or non-default parser options.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 2.5.0-1+deb12u4 | ||
debian 13 | 2.9.0-1~deb13u1 | ||
debian 14 | 2.8.4-1 | ||
alpine v3.21 | 2.8.4-r0 | ||
alpine v3.22 | 2.8.4-r0 | ||
alpine v3.23 | 2.8.4-r0 | ||
rpm rhel8 | - | - | |
rpm rhel6 | - | - | |
rpm rhel10 | 0:2.7.3-1.el10_2.5 | ||
rpm rhel6 | - | - |
1-10 of 22
10
Aliases