{"id":"OESA-2022-1490","summary":"expat security update","details":"An XML parser library.\r\n\r\nSecurity Fix(es):\r\n\r\nIn Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).(CVE-2021-45960)\r\n\r\nlookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22825)\r\n\r\nstoreAtts in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22827)\r\n\r\naddBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22822)\r\n\r\nnextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22826)\r\n\r\nbuild_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22823)\r\n\r\ndefineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.(CVE-2022-22824)\r\n\r\nIn doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize.(CVE-2021-46143)","modified":"2025-09-03T06:17:45.075661Z","published":"2022-01-18T11:03:27Z","upstream":["CVE-2021-45960","CVE-2021-46143","CVE-2022-22822","CVE-2022-22823","CVE-2022-22824","CVE-2022-22825","CVE-2022-22826","CVE-2022-22827"],"database_specific":{"severity":"Critical"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1490"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45960"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22825"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22827"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22822"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22826"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22823"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22824"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46143"}],"affected":[{"package":{"name":"expat","ecosystem":"openEuler:20.03-LTS-SP1","purl":"pkg:rpm/openEuler/expat&distro=openEuler-20.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.9-4.oe1"}]}],"ecosystem_specific":{"x86_64":["expat-debuginfo-2.2.9-4.oe1.x86_64.rpm","expat-devel-2.2.9-4.oe1.x86_64.rpm","expat-2.2.9-4.oe1.x86_64.rpm","expat-debugsource-2.2.9-4.oe1.x86_64.rpm"],"aarch64":["expat-debuginfo-2.2.9-4.oe1.aarch64.rpm","expat-debugsource-2.2.9-4.oe1.aarch64.rpm","expat-devel-2.2.9-4.oe1.aarch64.rpm","expat-2.2.9-4.oe1.aarch64.rpm"],"src":["expat-2.2.9-4.oe1.src.rpm"],"noarch":["expat-help-2.2.9-4.oe1.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2022-1490.json"}},{"package":{"name":"expat","ecosystem":"openEuler:20.03-LTS-SP2","purl":"pkg:rpm/openEuler/expat&distro=openEuler-20.03-LTS-SP2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.9-4.oe1"}]}],"ecosystem_specific":{"x86_64":["expat-2.2.9-4.oe1.x86_64.rpm","expat-debugsource-2.2.9-4.oe1.x86_64.rpm","expat-debuginfo-2.2.9-4.oe1.x86_64.rpm","expat-devel-2.2.9-4.oe1.x86_64.rpm"],"aarch64":["expat-2.2.9-4.oe1.aarch64.rpm","expat-debuginfo-2.2.9-4.oe1.aarch64.rpm","expat-debugsource-2.2.9-4.oe1.aarch64.rpm","expat-devel-2.2.9-4.oe1.aarch64.rpm"],"src":["expat-2.2.9-4.oe1.src.rpm"],"noarch":["expat-help-2.2.9-4.oe1.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2022-1490.json"}},{"package":{"name":"expat","ecosystem":"openEuler:20.03-LTS-SP3","purl":"pkg:rpm/openEuler/expat&distro=openEuler-20.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.9-4.oe1"}]}],"ecosystem_specific":{"x86_64":["expat-debugsource-2.2.9-4.oe1.x86_64.rpm","expat-devel-2.2.9-4.oe1.x86_64.rpm","expat-debuginfo-2.2.9-4.oe1.x86_64.rpm","expat-2.2.9-4.oe1.x86_64.rpm"],"aarch64":["expat-debugsource-2.2.9-4.oe1.aarch64.rpm","expat-2.2.9-4.oe1.aarch64.rpm","expat-debuginfo-2.2.9-4.oe1.aarch64.rpm","expat-devel-2.2.9-4.oe1.aarch64.rpm"],"src":["expat-2.2.9-4.oe1.src.rpm"],"noarch":["expat-help-2.2.9-4.oe1.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2022-1490.json"}}],"schema_version":"1.7.3"}