Summary
Expat is a C library for parsing XML documents.
Security Fix(es):
* expat: Malformed 2- and 3-byte UTF-8 sequences can lead to arbitrary code execution (CVE-2022-25235)
* expat: Namespace-separator characters in "xmlns[:prefix]" attribute values can lead to arbitrary code execution (CVE-2022-25236)
* expat: Integer overflow in storeRawNames() (CVE-2022-25315)
* expat: Large number of prefixed XML attributes on a single tag can crash libexpat (CVE-2021-45960)
* expat: Integer overflow in doProlog in xmlparse.c (CVE-2021-46143)
* expat: Integer overflow in addBinding in xmlparse.c (CVE-2022-22822)
* expat: Integer overflow in build_model in xmlparse.c (CVE-2022-22823)
* expat: Integer overflow in defineAttribute in xmlparse.c (CVE-2022-22824)
* expat: Integer overflow in lookup in xmlparse.c (CVE-2022-22825)
* expat: Integer overflow in nextScaffoldPart in xmlparse.c (CVE-2022-22826)
* expat: Integer overflow in storeAtts in xmlparse.c (CVE-2022-22827)
* expat: Integer overflow in function XML_GetBuffer (CVE-2022-23852)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 8 | expat | 2.2.5-8.el8_6.2 |
| AlmaLinux · 8 | expat-devel | 2.2.5-8.el8_6.2 |
Vulnerabilities 12
-
Critical 9.8CVE-2022-22822 Public exploit
addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
Critical 9.8
build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
Critical 9.8
defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
Critical 9.8CVE-2022-23852 Public exploit
Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML…
-
Critical 9.8CVE-2022-25235 Public exploit
xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a U…
-
Critical 9.8
xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespac…
-
Critical 9.8CVE-2022-25315 Public exploit
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.
-
High 8.8CVE-2021-45960 Public exploit
In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can l…
-
High 8.8
lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
High 8.8
nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
High 8.8
storeAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.
-
High 8.1CVE-2021-46143 Public exploit
In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.
References
-
report
https://access.redhat.com/security/cve/CVE-2021-45960
-
report
https://access.redhat.com/security/cve/CVE-2021-46143
-
report
https://access.redhat.com/security/cve/CVE-2022-22822
-
report
https://access.redhat.com/security/cve/CVE-2022-22823
-
report
https://access.redhat.com/security/cve/CVE-2022-22824
-
report
https://access.redhat.com/security/cve/CVE-2022-22825
-
report
https://access.redhat.com/security/cve/CVE-2022-22826
-
report
https://access.redhat.com/security/cve/CVE-2022-22827
-
report
https://access.redhat.com/security/cve/CVE-2022-23852
-
report
https://access.redhat.com/security/cve/CVE-2022-25235
-
report
https://access.redhat.com/security/cve/CVE-2022-25236
-
report
https://access.redhat.com/security/cve/CVE-2022-25315
-
report
https://bugzilla.redhat.com/2044451
-
report
https://bugzilla.redhat.com/2044455
-
report
https://bugzilla.redhat.com/2044457
-
report
https://bugzilla.redhat.com/2044464
-
report
https://bugzilla.redhat.com/2044467
-
report
https://bugzilla.redhat.com/2044479
-
report
https://bugzilla.redhat.com/2044484
-
report
https://bugzilla.redhat.com/2044488
-
report
https://bugzilla.redhat.com/2044613
-
report
https://bugzilla.redhat.com/2056363
-
report
https://bugzilla.redhat.com/2056366
-
report
https://bugzilla.redhat.com/2056370
-
advisory
https://errata.almalinux.org/8/ALSA-2022-0951.html