Quick answers
- Is CVE-2024-45491 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-45491 being exploited in the wild.
- How severe is CVE-2024-45491?
- Critical severity, with a CVSS score of 9.8, published 30 August 2024.
- Which products and versions are affected?
- libexpat project libexpat before 2.6.3.
- Is there a fix for CVE-2024-45491?
- A patch was published on 2024-09-04: libexpat version 2.6.3 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-45491 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2024-45491?
- Check whether you run Libexpat Project Libexpat. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An integer overflow vulnerability exists in libexpat's xmlparse.c within the dtdCopy function. On 32-bit platforms where UINT_MAX equals SIZE_MAX, the nDefaultAtts variable can overflow during processing. An attacker can exploit this by providing a malicious XML document with a large number of default attributes, leading to a heap-based buffer overflow. This can result in a denial of service (application crash) or remote code execution. The issue is fixed in version 2.6.3.
Affected products
- libexpat project libexpat before 2.6.3
Timeline
- 2024-08-26: disclosed: Issue reported on GitHub by TaiYou-TW
- 2024-08-30: advisory: CVE-2024-45491 assigned and published
- 2024-09-04: patched: libexpat version 2.6.3 released
References
- https://github.com/libexpat/libexpat/issues/888
- https://github.com/libexpat/libexpat/pull/891
- https://lists.debian.org/debian-lts-announce/2024/09/msg00036.html
- https://security.netapp.com/advisory/ntap-20241018-0003/
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html