CVE-2024-45491
libexpat: Integer Overflow or Wraparound
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner, Julia, Photon OS. Rated lower by Bottlerocket (high), Red Hat (medium), AlmaLinux (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (medium).
Description
An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | expat | 0:2.6.3-1.azl3 |
| CBL-Mariner 2.0 | expat | 0:2.6.3-1.cm2 |
| julia::Julia Ecosystem Security Advisories | Expat_jll | 2.6.4+0 |
| Photon OS 3.0 | expat | 2.2.9-12.ph3 |
| Photon OS 4.0 | expat, expat-devel, expat-docs and 1 more | 2.4.9-3.ph4 |
| Photon OS 5.0 | expat, expat-devel, expat-docs and 3 more | 2.6.0-3.ph5 and 1 more |
| alma 8 | expat, expat-devel, xmlrpc-c and 4 more | 2.2.5-15.el8_10 and 1 more |
| alma 9 | expat, expat-devel | 2.5.0-2.el9_4.1 |
| alpine 3.17 | expat | 2.6.3-r0 |
| alpine 3.18 | expat | 2.6.3-r0 |
| alpine 3.19 | expat | 2.6.3-r0 |
| alpine 3.20 | expat, qt5-qtwebengine | 2.6.3-r0 and 1 more |
Show all 141 entries from 60 sources
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | expat | 0:2.6.3-1.azl3 |
| CBL-Mariner 2.0 | expat | 0:2.6.3-1.cm2 |
| julia::Julia Ecosystem Security Advisories | Expat_jll | 2.6.4+0 |
| Photon OS 3.0 | expat | 2.2.9-12.ph3 |
| Photon OS 4.0 | expat | 2.4.9-3.ph4 |
| Photon OS 4.0 | expat-devel | 2.4.9-3.ph4 |
| Photon OS 4.0 | expat-docs | 2.4.9-3.ph4 |
| Photon OS 4.0 | expat-libs | 2.4.9-3.ph4 |
| Photon OS 5.0 | expat | 2.6.0-3.ph5 |
| Photon OS 5.0 | expat-devel | 2.6.0-3.ph5 |
| Photon OS 5.0 | expat-docs | 2.6.0-3.ph5 |
| Photon OS 5.0 | expat-libs | 2.6.0-3.ph5 |
| Photon OS 5.0 | mozjs | 102.12.0-6.ph5 |
| Photon OS 5.0 | mozjs-devel | 102.12.0-6.ph5 |
| alma 8 | expat | 2.2.5-15.el8_10 |
| alma 8 | expat-devel | 2.2.5-15.el8_10 |
| alma 8 | xmlrpc-c | 1.51.0-10.el8_10 |
| alma 8 | xmlrpc-c-c++ | 1.51.0-10.el8_10 |
| alma 8 | xmlrpc-c-client | 1.51.0-10.el8_10 |
| alma 8 | xmlrpc-c-client++ | 1.51.0-10.el8_10 |
| alma 8 | xmlrpc-c-devel | 1.51.0-10.el8_10 |
| alma 9 | expat | 2.5.0-2.el9_4.1 |
| alma 9 | expat-devel | 2.5.0-2.el9_4.1 |
| alpine 3.17 | expat | 2.6.3-r0 |
| alpine 3.18 | expat | 2.6.3-r0 |
| alpine 3.19 | expat | 2.6.3-r0 |
| alpine 3.20 | expat | 2.6.3-r0 |
| alpine 3.20 | qt5-qtwebengine | 5.15.16-r12 |
| alpine 3.21 | expat | 2.6.3-r0 |
| alpine 3.21 | qt5-qtwebengine | 5.15.17-r3 |
| alpine 3.21 | qt6-qtwebengine | 6.7.2-r6 |
| alpine 3.22 | expat | 2.6.3-r0 |
| alpine 3.22 | qt5-qtwebengine | 5.15.17-r3 |
| alpine 3.22 | qt6-qtwebengine | 6.7.2-r6 |
| alpine 3.23 | expat | 2.6.3-r0 |
| alpine 3.23 | qt5-qtwebengine | 5.15.17-r3 |
| alpine 3.23 | qt6-qtwebengine | 6.7.2-r6 |
| alpine 3.24 | expat | 2.6.3-r0 |
| alpine 3.24 | qt6-qtwebengine | 6.7.2-r6 |
| alpine edge | expat | 2.6.3-r0 |
| alpine edge | qt6-qtwebengine | 6.7.2-r6 |
| bottlerocket | libexpat | 2.4.1-8d443e7c |
| chainguard | expat | 2.6.3-r0 |
| debian 11 | expat | 2.2.10-2+deb11u6 |
| debian 11 | libxmltok | no fix listed |
| debian 12 | expat | 2.5.0-1+deb12u1 |
| debian 12 | libxmltok | no fix listed |
| debian 13 | expat | 2.6.2-2 |
| debian 14 | expat | 2.6.2-2 |
| echo | expat | 2.5.0-1+deb12u1 |
| echo | libxmltok | no fix listed |
| Oracle Linux 8 | expat | 2.2.5-15.0.1.el8_10 |
| Oracle Linux 8 | expat-devel | 2.2.5-15.0.1.el8_10 |
| Oracle Linux 8 | xmlrpc-c | 1.51.0-10.el8_10 |
| Oracle Linux 8 | xmlrpc-c-c++ | 1.51.0-10.el8_10 |
| Oracle Linux 8 | xmlrpc-c-client | 1.51.0-10.el8_10 |
| Oracle Linux 8 | xmlrpc-c-client++ | 1.51.0-10.el8_10 |
| Oracle Linux 8 | xmlrpc-c-devel | 1.51.0-10.el8_10 |
| Oracle Linux 9 | expat | 2.5.0-2.el9_4.1 |
| Oracle Linux 9 | expat-devel | 2.5.0-2.el9_4.1 |
| rapidfort alma 8 | firefox | no fix listed |
| rapidfort alma 8 | thunderbird | no fix listed |
| rapidfort alma 9 | firefox | no fix listed |
| rapidfort alma 9 | firefox-x11 | no fix listed |
| rapidfort alma 9 | thunderbird | no fix listed |
| rapidfort alpine 3.20 | expat | 2.6.3-r0 |
| rapidfort alpine 3.20 | qt6-qtwebengine | 6.7.2-r6 |
| rapidfort alpine 3.21 | expat | 2.6.3-r0 |
| rapidfort alpine 3.21 | qt5-qtwebengine | 5.15.17-r3 |
| rapidfort alpine 3.21 | qt6-qtwebengine | 6.7.2-r6 |
| rapidfort alpine 3.22 | expat | 2.6.3-r0 |
| rapidfort alpine 3.22 | qt5-qtwebengine | 5.15.17-r3 |
| rapidfort alpine 3.22 | qt6-qtwebengine | 6.7.2-r6 |
| rapidfort alpine 3.23 | expat | 2.6.3-r0 |
| rapidfort alpine 3.23 | qt5-qtwebengine | 5.15.17-r3 |
| rapidfort alpine 3.23 | qt6-qtwebengine | 6.7.2-r6 |
| rapidfort alpine 3.24 | expat | 2.6.3-r0 |
| rapidfort alpine 3.24 | qt5-qtwebengine | 5.15.17-r3 |
| rapidfort alpine 3.24 | qt6-qtwebengine | 6.7.2-r6 |
| rapidfort debian 12 | libxmltok | 0:1.2-4.1 |
| rapidfort debian 13 | libxmltok | 0:1.2-4.1 |
| rapidfort Oracle Linux 9 | expat | 0:2.5.0-2.el9_4.1 |
| rapidfort Oracle Linux 9 | expat-devel | 0:2.5.0-2.el9_4.1 |
| rapidfort Oracle Linux 9 | firefox | no fix listed |
| rapidfort Oracle Linux 9 | firefox-x11 | no fix listed |
| rapidfort Oracle Linux 9 | thunderbird | no fix listed |
| rapidfort rocky 8 | firefox | no fix listed |
| rapidfort rocky 8 | thunderbird | no fix listed |
| rapidfort rocky 9 | firefox | no fix listed |
| rapidfort rocky 9 | firefox-x11 | no fix listed |
| rapidfort rocky 9 | thunderbird | no fix listed |
| rapidfort ubuntu 20.04 | expat | 0:2.4.7-1ubuntu0.4, 0:2.6.1-2ubuntu0.1 |
| rapidfort ubuntu 20.04 | matanza | no fix listed |
| rapidfort ubuntu 20.04 | rf-expat | 0:2.4.7-1ubuntu0.4, 0:2.6.1-2ubuntu0.1 |
| rapidfort ubuntu 22.04 | expat | 0:2.4.7-1ubuntu0.4, 0:2.6.1-2ubuntu0.1 |
| rapidfort ubuntu 22.04 | matanza | no fix listed |
| rapidfort ubuntu 22.04 | rf-expat | 0:2.4.7-1ubuntu0.4, 0:2.6.1-2ubuntu0.1 |
| rapidfort ubuntu 24.04 | expat | 0:2.4.7-1ubuntu0.4, 0:2.6.1-2ubuntu0.1 |
| rapidfort ubuntu 24.04 | matanza | no fix listed |
| rapidfort ubuntu 24.04 | rf-expat | 0:2.4.7-1ubuntu0.4, 0:2.6.1-2ubuntu0.1 |
| Red Hat | compat-expat1 | no fix listed |
| Red Hat | expat | no fix listed |
| Red Hat | expat-devel | no fix listed |
| Red Hat | expat-static | no fix listed |
| Red Hat | firefox | no fix listed |
| Red Hat | firefox-x11 | no fix listed |
| Red Hat | mingw-expat | no fix listed |
| Red Hat | mingw32-expat | no fix listed |
| Red Hat | mingw64-expat | no fix listed |
| Red Hat | openshift/ose-rhel-coreos-9 | no fix listed |
| Red Hat | thunderbird | no fix listed |
| rocky 8 | expat | 2.2.5-15.el8_10 |
| rocky 8 | expat-devel | 2.2.5-15.el8_10 |
| rocky 8 | xmlrpc-c | 1.51.0-10.el8_10 |
| rocky 8 | xmlrpc-c-client | 1.51.0-10.el8_10 |
| rocky 9 | expat | 2.5.0-2.el9_4.1 |
| rocky 9 | expat-devel | 2.5.0-2.el9_4.1 |
| root.io debian 11 | rootio-expat | 2.2.10-2+deb11u6 |
| root.io debian 12 | rootio-expat | 2.5.0-1+deb12u1 |
| root.io debian 13 | rootio-expat | 2.6.2-2 |
| seal debian | expat | 2.5.0-1+deb12u1+sp999, 2.5.0-1+deb12u2+sp999 |
| seal debian | seal-expat | 2.5.0-1+deb12u1+sp999, 2.5.0-1+deb12u2+sp999 |
| seal Red Hat 7 | expat | 2.1.0-15.el7_9+sp999 |
| seal Red Hat 7 | seal-expat | 2.1.0-15.el7_9+sp999 |
| seal Red Hat 8 | expat | 2.2.5-16.el8_10+sp999, 2.2.5-4.0.1.el8_5.3+sp999 |
| seal Red Hat 8 | seal-expat | 2.2.5-16.el8_10+sp999, 2.2.5-4.0.1.el8_5.3+sp999 |
| ubuntu 14.04-ESM | expat | 2.1.0-4ubuntu1.4+esm9 |
| ubuntu 16.04-ESM | expat | 2.1.0-7ubuntu0.16.04.5+esm9 |
| ubuntu 16.04-ESM | libxmltok | 1.2-3ubuntu0.16.04.1~esm4 |
| ubuntu 18.04-ESM | expat | 2.2.5-3ubuntu0.9+esm1 |
| ubuntu 18.04-ESM | libxmltok | 1.2-4ubuntu0.18.04.1~esm3 |
| ubuntu 20.04 | expat | 2.2.9-1ubuntu0.7 |
| ubuntu 20.04-ESM | expat | 2.2.9-1ubuntu0.7 |
| ubuntu 20.04-ESM | libxmltok | 1.2-4ubuntu0.20.04.1~esm3 |
| ubuntu 22.04 | expat | 2.4.7-1ubuntu0.4 |
| ubuntu 22.04 | libxmltok | no fix listed |
| ubuntu 24.04 | expat | 2.6.1-2ubuntu0.1 |
| ubuntu 24.04 | libxmltok | no fix listed |
| ubuntu 24.10 | libxmltok | 1.2-4.1ubuntu3 |
| ubuntu 25.04 | libxmltok | 1.2-4.1ubuntu3 |
| wolfi | expat | 2.6.3-r0 |
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45491
- https://access.redhat.com/errata/RHSA-2024:6754
- https://access.redhat.com/security/cve/CVE-2024-45491
- https://bugzilla.redhat.com/2308615
- https://bugzilla.redhat.com/2308616
- https://bugzilla.redhat.com/2308617
- https://bugzilla.redhat.com/show_bug.cgi?id=2308615
- https://bugzilla.redhat.com/show_bug.cgi?id=2308616
All 31 references
- https://bugzilla.redhat.com/show_bug.cgi?id=2308617
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45490
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45491
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45492
- https://errata.almalinux.org/9/ALSA-2024-6754.html
- https://errata.rockylinux.org/RLSA-2024:6754
- https://github.com/bottlerocket-os/bottlerocket-core-kit/blob/develop/advisories/2.4.1/BRSA-rsshgwurguax.toml
- https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes
- https://github.com/libexpat/libexpat/issues/888
- https://github.com/libexpat/libexpat/pull/891
- https://linux.oracle.com/cve/CVE-2024-45491.html
- https://linux.oracle.com/errata/ELSA-2024-8859.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00036.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-45491
- https://security.netapp.com/advisory/ntap-20241018-0003/
- https://ubuntu.com/security/notices/USN-7000-1
- https://ubuntu.com/security/notices/USN-7000-2
- https://ubuntu.com/security/notices/USN-7001-1
- https://ubuntu.com/security/notices/USN-7001-2
- https://www.cve.org/CVERecord?id=CVE-2024-45491