{"id":"MGASA-2022-0081","summary":"Updated expat packages fix security vulnerability","details":"Passing malformed 2- and 3-byte UTF-8 sequences (e.g. from start tag names)\nto the XML processing application on top of Expat can cause arbitrary\ndamage (e.g. code execution) depending on how invalid UTF-8 is handled\ninside the XML processor; validation was not their job but Expat's.\nExploits with code execution are known to exist. (CVE-2022-25235)\n\nPassing (one or more) namespace separator characters in \"xmlns[:prefix]\"\nattribute values made Expat send malformed tag names to the XML processor\non top of Expat which can cause arbitrary damage (e.g. code execution)\ndepending on such unexpectable cases are handled inside the XML processor;\nvalidation was not their job but Expat's. Exploits with code execution\nare known to exist. (CVE-2022-25236)\n\nFix stack exhaustion in doctype parsing that could be triggered by e.g. a\n2 megabytes file with a large number of opening braces. Expected impact\nis denial of service or potentially arbitrary code execution.\n(CVE-2022-25313)\n\nFix integer overflow in function copyString;  only affects the encoding\nname parameter at parser creation time which is often hardcoded (rather\nthan user input), takes a value in the gigabytes to trigger, and a 64-bit\nmachine.  Expected impact is denial of service. (CVE-2022-25314)\n\nFix integer overflow in function storeRawNames; needs input in the\ngigabytes and a 64-bit machine. Expected impact is denial of service or\npotentially arbitrary code execution. (CVE-2022-25315)\n","modified":"2026-04-16T00:10:14.318951838Z","published":"2022-02-22T20:15:16Z","upstream":["CVE-2022-25235","CVE-2022-25236","CVE-2022-25313","CVE-2022-25314","CVE-2022-25315"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2022-0081.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=30070"},{"type":"WEB","url":"https://seclists.org/oss-sec/2022/q1/150"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5288-1"}],"affected":[{"package":{"name":"expat","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/expat?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.10-1.3.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2022-0081.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}