From 4587d04decd1384f82d6bf5b9c4065f06e538ded5032645a4dde61dd2f434a67 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 20 Feb 2022 16:05:20 +0000 Subject: [PATCH 1/3] Accepting request 956000 from home:david.anes:branches:devel:libraries:c_c++ - update to 2.4.5 (bsc#1196171, bsc#1196169, bsc#1196168, bsc#1196026, bsc#1196025): * Security fixes: - CVE-2022-25235 -- Passing malformed 2- and 3-byte UTF-8 sequences (e.g. from start tag names) to the XML processing application on top of Expat can cause arbitrary damage (e.g. code execution) depending on how invalid UTF-8 is handled inside the XML processor; validation was not their job but Expat's. Exploits with code execution are known to exist. - CVE-2022-25236 -- Passing (one or more) namespace separator characters in "xmlns[:prefix]" attribute values made Expat send malformed tag names to the XML processor on top of Expat which can cause arbitrary damage (e.g. code execution) depending on such unexpectable cases are handled inside the XML processor; validation was not their job but Expat's. Exploits with code execution are known to exist. - CVE-2022-25313 -- Fix stack exhaustion in doctype parsing that could be triggered by e.g. a 2 megabytes file with a large number of opening braces. Expected impact is denial of service or potentially arbitrary code execution. - CVE-2022-25314 -- Fix integer overflow in function copyString; only affects the encoding name parameter at parser creation time which is often hardcoded (rather than user input), takes a value in the gigabytes to trigger, and a 64-bit machine. Expected impact is denial of service. - CVE-2022-25315 -- Fix integer overflow in function storeRawNames; needs input in the gigabytes and a 64-bit machine. OBS-URL: https://build.opensuse.org/request/show/956000 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=93 --- expat-2.4.4.tar.xz | 3 --- expat-2.4.4.tar.xz.asc | 16 ---------------- expat-2.4.5.tar.xz | 3 +++ expat-2.4.5.tar.xz.asc | 16 ++++++++++++++++ expat.changes | 39 +++++++++++++++++++++++++++++++++++++++ expat.spec | 4 ++-- 6 files changed, 60 insertions(+), 21 deletions(-) delete mode 100644 expat-2.4.4.tar.xz delete mode 100644 expat-2.4.4.tar.xz.asc create mode 100644 expat-2.4.5.tar.xz create mode 100644 expat-2.4.5.tar.xz.asc diff --git a/expat-2.4.4.tar.xz b/expat-2.4.4.tar.xz deleted file mode 100644 index 1feebe8..0000000 --- a/expat-2.4.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5d25d6e373351c2ed19b562b4732d01d2589ac8c8e9e7962d8df1207cc311b8 -size 449448 diff --git a/expat-2.4.4.tar.xz.asc b/expat-2.4.4.tar.xz.asc deleted file mode 100644 index e64e933..0000000 --- a/expat-2.4.4.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEy43nCpDPv2w79cxWliYqz/vTrsYFAmH11+gACgkQliYqz/vT -rsYnng/+PctRB7klFTZ8BhmZXw7p3zasX9j17kY1/a24LT79mBNz+jSlxHI1nhwQ -ML9Tn3H/YdyriqYYVngjqrNoUFxGmTvF/VHE92AZ1AoDyqDUmzj061hcAIJvFevz -Ucn3f4dgBZJ8qsys0Y3SIaEZNLdTkOz4wT2czSdWHxwaGS/FCa28wJ3ed5Sr8dSS -KMzt6WG6nkqPUNMnlgX24wmg+Y5wcdGipTD/hbDoSkSWK5s2qUhNDs8Nuq8MLKu4 -PAawLOg/TyZAN36nX7/WZiaPB5pOgLsgP94DOyQBtF4+O/tGTADKazhV7e5pOwTb -dzdGBzpgbhIa70V/iSLX0TcE8NlFEp3RLMd9Yv19w/S7Dhju3ZrcjVVpwlwnR16w -nWr5vNMw+HiF0QrtKt1swSex5GuMHbzGAQqAfOQZwGPe/kDfC6TSwKvJwWOjVzuF -JYoFMAM2vIT6zf0l5HvmysFEx9Z0hFuV9/R2cv5ADqWLj88L4sQGaVQrmJDuYxao -swYRHqOkl2T36prwQPpHXs8B1GovuMTJqBf3WwBx00TC+/slvM04HCx02p6zk2HV -awfYf93A8HiywTmlQCOoSBve7tvpluNulICCAOHmxeE4DpZvjjHqEtfUeyiKrtnN -pTWzdnmoxC95gBKxft3VAx6RNk144kNQUYIJ+N6SulBI72O2hVI= -=vDlI ------END PGP SIGNATURE----- diff --git a/expat-2.4.5.tar.xz b/expat-2.4.5.tar.xz new file mode 100644 index 0000000..dd6a2d4 --- /dev/null +++ b/expat-2.4.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2af8fc7cdc63a87920da38cd6d12cb113c3c3a3f437495b1b6541e0cff32579 +size 451976 diff --git a/expat-2.4.5.tar.xz.asc b/expat-2.4.5.tar.xz.asc new file mode 100644 index 0000000..455e9bb --- /dev/null +++ b/expat-2.4.5.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEy43nCpDPv2w79cxWliYqz/vTrsYFAmIQIVMACgkQliYqz/vT +rsZNsRAA3qPnwBxSt1i6FAUboOmAlTCzQZ9onSvS9bD74mMxsyGMv0opLK9xhqa/ +O4M8Of+IiBhL6I96zMZ8CKz7eh4yvEg9jqK22ef6mvXzIiX6xMOAj1C+k7CxDttC +aHHZQmZWYk5istEwPgLdP3n7bdLzlWpxlqioFYEL7yoPF6v5UDXBf8Jd6xQpHPsz +LSOtd2YDYc0cKHtaJi4MKV/APmsDuC+/dYE6uoZHZnZjkVDmYJ5etnobLOZqg1SF +S+pCbEQCSOna3pkTFWQdhLYPCSIrE9LmDi8sNdTRoJc5WemAOFBNXF8cXOFfXd71 +7Nn001pQ+p4gDiI76tKnKbcjczR6VQtEyStNDvB03uZuty3/p6MYEFQtFsxCbUmd +ajovIQrxjAxNvtFCM5Ydv8wlNRNpU7YqKvhz7Jc6AHHpcJvwCQyO+FTCKadympOS +RwcTdQYhlmCC2muEyRonjjRt7rs9KTParenCF8zYPGTtNJD0q8cBF55s/nIRQUaj +AHIdJoeT4/EF7BHKO+HruSOtAVK0y2aECYnh0lYiJkQsZVay5mvwSKoxcCwo/+l5 +VIXqlzQVnlG8ADxzuVE36O3j2hYuQOsrBJszzl2xuptLv8X3V2BGowc1KS+CtECL +b7xNb/LemKtpAxIJ6bMqv8v+Ph64wjEI3gkHSAFgvkT10Urd8xM= +=PwCf +-----END PGP SIGNATURE----- diff --git a/expat.changes b/expat.changes index f05e199..22892bf 100644 --- a/expat.changes +++ b/expat.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Feb 19 09:21:21 UTC 2022 - David Anes + +- update to 2.4.5 (bsc#1196171, bsc#1196169, bsc#1196168, + bsc#1196026, bsc#1196025): + * Security fixes: + - CVE-2022-25235 -- Passing malformed 2- and 3-byte UTF-8 + sequences (e.g. from start tag names) to the XML + processing application on top of Expat can cause + arbitrary damage (e.g. code execution) depending + on how invalid UTF-8 is handled inside the XML + processor; validation was not their job but Expat's. + Exploits with code execution are known to exist. + - CVE-2022-25236 -- Passing (one or more) namespace separator + characters in "xmlns[:prefix]" attribute values + made Expat send malformed tag names to the XML + processor on top of Expat which can cause + arbitrary damage (e.g. code execution) depending + on such unexpectable cases are handled inside the XML + processor; validation was not their job but Expat's. + Exploits with code execution are known to exist. + - CVE-2022-25313 -- Fix stack exhaustion in doctype parsing + that could be triggered by e.g. a 2 megabytes + file with a large number of opening braces. + Expected impact is denial of service or potentially + arbitrary code execution. + - CVE-2022-25314 -- Fix integer overflow in function copyString; + only affects the encoding name parameter at parser creation + time which is often hardcoded (rather than user input), + takes a value in the gigabytes to trigger, and a 64-bit + machine. Expected impact is denial of service. + - CVE-2022-25315 -- Fix integer overflow in function storeRawNames; + needs input in the gigabytes and a 64-bit machine. + Expected impact is denial of service or potentially + arbitrary code execution. + * Other changes: + - Version info bumped from 9:4:8 to 9:5:8; + see https://verbump.de/ for what these numbers do + ------------------------------------------------------------------- Mon Jan 31 06:13:13 UTC 2022 - David Anes diff --git a/expat.spec b/expat.spec index fdd3a1e..3b34222 100644 --- a/expat.spec +++ b/expat.spec @@ -16,9 +16,9 @@ # -%global unversion 2_4_4 +%global unversion 2_4_5 Name: expat -Version: 2.4.4 +Version: 2.4.5 Release: 0 Summary: XML Parser Toolkit License: MIT From aadd52c63509fd87cb46d856f322397bebfd81634bb4ed1361b5eed827ae4cc1 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Mon, 21 Feb 2022 08:59:54 +0000 Subject: [PATCH 2/3] Accepting request 956174 from home:david.anes:branches:devel:libraries:c_c++ - update to 2.4.6 (bsc#1196168, CVE-2022-25313): * Bug fixes: - Fix a regression introduced by the fix for CVE-2022-25313 in release 2.4.5 that affects applications that (1) call function XML_SetElementDeclHandler and (2) are parsing XML that contains nested element declarations (e.g. ""). - Version info bumped from 9:5:8 to 9:6:8; see https://verbump.de/ for what these numbers do. OBS-URL: https://build.opensuse.org/request/show/956174 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=94 --- expat-2.4.6.tar.xz | 3 +++ expat-2.4.6.tar.xz.asc | 16 ++++++++++++++++ expat.changes | 13 +++++++++++++ expat.spec | 4 ++-- 4 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 expat-2.4.6.tar.xz create mode 100644 expat-2.4.6.tar.xz.asc diff --git a/expat-2.4.6.tar.xz b/expat-2.4.6.tar.xz new file mode 100644 index 0000000..95debb0 --- /dev/null +++ b/expat-2.4.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de55794b7a9bc214852fdc075beaaecd854efe1361597e6268ee87946951289b +size 452468 diff --git a/expat-2.4.6.tar.xz.asc b/expat-2.4.6.tar.xz.asc new file mode 100644 index 0000000..92b7188 --- /dev/null +++ b/expat-2.4.6.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEy43nCpDPv2w79cxWliYqz/vTrsYFAmISdL8ACgkQliYqz/vT +rsaPBhAAlALWvVoxvGj5Sko6xbOBVXfal/c40pbAN4yFVKYW1YBNaswB6cjQDuUI +VBLqQwtZicNWHxPCLF0bldJFbNiiR3w6cm08e4C+YKHtEH4FRsLDxzWYF1n7nd0t +Yez7BozXwafD2HDgx86bJOnVhSkn2fAHPKUGLErHLvpFg7aLvIOPtWPJ+9YeGeDa +B8SrQB7YLu9EpkUmwGUCB5zZremoX8vC3+2N8RR2HLQ0dq1VPaBJrJkinGP8j/W5 +bxi/eADCIt09cD6WEinFdE6M3LBSb1K8aKdnGxpQ8A3bs+XoBy6MTXCmdtnsa07y +whUEcWvu/npxgNAsZoW3LW2DPn0B8Ym/DW1K4GrtYVhZZGo7/mvazr2+LPo1xhUZ +x5iT4m+4COk0QwEb8rXVMIQAvlObdk8vR7AzPmetLiRrC1Ht2RQ5NCPGLoAUC/9t +Lw0X34MJ9xU1tSY7bWJzTa7RCaAjo36amnINsupw83PxOnFreshnIMvCULG9u99Y +lmF3XiyARjCbzYsJTGChldtQZ1tA4A+4aKO71HM/Ajo8CGBnB3q2W/88ORclOfpe +WJ0ubUUHp/63l6uZPg4hESdSS2ID6PY9WbrS91rNBSEr8ZOrra5VWbEif2fN+mDC +sy61OGEXvgNmGK06ygr8o8T32DLc+dh/ST6BMTpUo7PXKcA4/qg= +=gI+p +-----END PGP SIGNATURE----- diff --git a/expat.changes b/expat.changes index 22892bf..bbf4e3f 100644 --- a/expat.changes +++ b/expat.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Feb 20 19:48:53 UTC 2022 - David Anes + +- update to 2.4.6 (bsc#1196168, CVE-2022-25313): + * Bug fixes: + - Fix a regression introduced by the fix for CVE-2022-25313 + in release 2.4.5 that affects applications that (1) + call function XML_SetElementDeclHandler and (2) are + parsing XML that contains nested element declarations + (e.g. ""). + - Version info bumped from 9:5:8 to 9:6:8; + see https://verbump.de/ for what these numbers do. + ------------------------------------------------------------------- Sat Feb 19 09:21:21 UTC 2022 - David Anes diff --git a/expat.spec b/expat.spec index 3b34222..159742e 100644 --- a/expat.spec +++ b/expat.spec @@ -16,9 +16,9 @@ # -%global unversion 2_4_5 +%global unversion 2_4_6 Name: expat -Version: 2.4.5 +Version: 2.4.6 Release: 0 Summary: XML Parser Toolkit License: MIT From 52c38a58fc2c7c0c37b7a03a513502b504f08c09811219dcd854ed8b6a7099cb Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Mon, 21 Feb 2022 09:12:51 +0000 Subject: [PATCH 3/3] Accepting request 956336 from home:pmonrealgonzalez:branches:devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/956336 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=95 --- expat-2.4.5.tar.xz | 3 --- expat-2.4.5.tar.xz.asc | 16 ---------------- 2 files changed, 19 deletions(-) delete mode 100644 expat-2.4.5.tar.xz delete mode 100644 expat-2.4.5.tar.xz.asc diff --git a/expat-2.4.5.tar.xz b/expat-2.4.5.tar.xz deleted file mode 100644 index dd6a2d4..0000000 --- a/expat-2.4.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2af8fc7cdc63a87920da38cd6d12cb113c3c3a3f437495b1b6541e0cff32579 -size 451976 diff --git a/expat-2.4.5.tar.xz.asc b/expat-2.4.5.tar.xz.asc deleted file mode 100644 index 455e9bb..0000000 --- a/expat-2.4.5.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEy43nCpDPv2w79cxWliYqz/vTrsYFAmIQIVMACgkQliYqz/vT -rsZNsRAA3qPnwBxSt1i6FAUboOmAlTCzQZ9onSvS9bD74mMxsyGMv0opLK9xhqa/ -O4M8Of+IiBhL6I96zMZ8CKz7eh4yvEg9jqK22ef6mvXzIiX6xMOAj1C+k7CxDttC -aHHZQmZWYk5istEwPgLdP3n7bdLzlWpxlqioFYEL7yoPF6v5UDXBf8Jd6xQpHPsz -LSOtd2YDYc0cKHtaJi4MKV/APmsDuC+/dYE6uoZHZnZjkVDmYJ5etnobLOZqg1SF -S+pCbEQCSOna3pkTFWQdhLYPCSIrE9LmDi8sNdTRoJc5WemAOFBNXF8cXOFfXd71 -7Nn001pQ+p4gDiI76tKnKbcjczR6VQtEyStNDvB03uZuty3/p6MYEFQtFsxCbUmd -ajovIQrxjAxNvtFCM5Ydv8wlNRNpU7YqKvhz7Jc6AHHpcJvwCQyO+FTCKadympOS -RwcTdQYhlmCC2muEyRonjjRt7rs9KTParenCF8zYPGTtNJD0q8cBF55s/nIRQUaj -AHIdJoeT4/EF7BHKO+HruSOtAVK0y2aECYnh0lYiJkQsZVay5mvwSKoxcCwo/+l5 -VIXqlzQVnlG8ADxzuVE36O3j2hYuQOsrBJszzl2xuptLv8X3V2BGowc1KS+CtECL -b7xNb/LemKtpAxIJ6bMqv8v+Ph64wjEI3gkHSAFgvkT10Urd8xM= -=PwCf ------END PGP SIGNATURE-----