CVE-2024-45492
libexpat: integer overflow
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner, Julia, Photon OS. Rated lower by Red Hat (medium), AlmaLinux (medium), Bottlerocket (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (medium).
Description
An issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize 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 1 more | 2.6.0-3.ph5 |
| alma 8 | expat, expat-devel | 2.2.5-15.el8_10 |
| 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 125 entries from 58 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 |
| alma 8 | expat | 2.2.5-15.el8_10 |
| alma 8 | expat-devel | 2.2.5-15.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 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 |
| Red Hat | xmlrpc-c | no fix listed |
| Red Hat | xmlrpc-c-c++ | no fix listed |
| Red Hat | xmlrpc-c-client | no fix listed |
| Red Hat | xmlrpc-c-client++ | no fix listed |
| Red Hat | xmlrpc-c-devel | no fix listed |
| rocky 8 | expat | 2.2.5-15.el8_10 |
| rocky 8 | expat-devel | 2.2.5-15.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.2.10-2+deb11u5+sp999, 2.5.0-1+deb12u1+sp999, 2.5.0-1+deb12u2+sp999 |
| seal debian | seal-expat | 2.2.10-2+deb11u5+sp999, 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 18.04-ESM | expat | 2.2.5-3ubuntu0.9+esm1 |
| ubuntu 20.04 | expat | 2.2.9-1ubuntu0.7 |
| ubuntu 20.04-ESM | expat | 2.2.9-1ubuntu0.7 |
| ubuntu 22.04 | expat | 2.4.7-1ubuntu0.4 |
| ubuntu 24.04 | expat | 2.6.1-2ubuntu0.1 |
| wolfi | expat | 2.6.3-r0 |
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45492
- https://access.redhat.com/errata/RHSA-2024:6754
- https://access.redhat.com/security/cve/CVE-2024-45492
- 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 29 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-zij7i3861ei3.toml
- https://github.com/libexpat/libexpat/blob/R_2_6_3/expat/Changes
- https://github.com/libexpat/libexpat/issues/889
- https://github.com/libexpat/libexpat/pull/892
- https://linux.oracle.com/cve/CVE-2024-45492.html
- https://linux.oracle.com/errata/ELSA-2024-6989.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00036.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-45492
- https://security.netapp.com/advisory/ntap-20241018-0005/
- https://ubuntu.com/security/notices/USN-7000-1
- https://ubuntu.com/security/notices/USN-7000-2
- https://www.cve.org/CVERecord?id=CVE-2024-45492