{"id":"SUSE-SU-2022:2958-1","summary":"Security update for postgresql12","details":"This update for postgresql12 fixes the following issues:\n\n- Upgrade to 12.12:\n- CVE-2022-2625: Fixed an issue where extension scripts would replace objects not belonging to that extension (bsc#1202368).\n\n- Upgrade to 12.11:\n- CVE-2022-1552: Confined additional operations within 'security restricted operation' sandboxes (bsc#1199475).\n\n- Upgrade to 12.10 (bsc#1195680)\n- Add constraints file with 12GB of memory for s390x as a workaround (boo#1190740)\n\n- Upgrade to version 12.9 (bsc#1192516):\n- CVE-2021-23214: Made the server reject extraneous data after an SSL or GSS encryption handshake\n- CVE-2021-23222: Made libpq reject extraneous data after an SSL or GSS encryption handshake\n    \n- Upgrade to version 12.8:\n- CVE-2021-3677: Fixed memory disclosure in certain queries (bsc#1189748).\n\n- Upgrade to version 12.7:\n- CVE-2021-32027: Fixed integer overflows in array subscripting calculations (bsc#1185924).\n- CVE-2021-32028: Fixed mishandling of junk columns in INSERT ... ON CONFLICT ... UPDATE target lists (bsc#1185925).\n- CVE-2021-32029: Fixed possibly-incorrect computation of UPDATE ... RETURNING 'pg_psql_temporary_savepoint' does not exist (bsc#1185926).\n\n- Fixed build with llvm12 on s390x (bsc#1185952).\n- Re-enabled icu for PostgreSQL 10 (bsc#1179945).\n- Made the dependency of postgresqlXX-server-devel on llvm and clang optional (bsc#1187751).\n- llvm12 breaks PostgreSQL 11 and 12 on s390x. Use llvm11 as a workaround (bsc#1185952).\n- Don't use %_stop_on_removal, because it was meant to be private and got removed from openSUSE. %_restart_on_update is also private, but still supported and needed for now (bsc#1183168).\n","modified":"2026-03-11T07:20:57.959885Z","published":"2022-08-31T11:08:21Z","related":["CVE-2021-23214","CVE-2021-23222","CVE-2021-32027","CVE-2021-32028","CVE-2021-32029","CVE-2021-3677","CVE-2022-1552","CVE-2022-2625"],"upstream":["CVE-2021-23214","CVE-2021-23222","CVE-2021-32027","CVE-2021-32028","CVE-2021-32029","CVE-2021-3677","CVE-2022-1552","CVE-2022-2625"],"references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2022/suse-su-20222958-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1179945"},{"type":"REPORT","url":"https://bugzilla.suse.com/1183168"},{"type":"REPORT","url":"https://bugzilla.suse.com/1185924"},{"type":"REPORT","url":"https://bugzilla.suse.com/1185925"},{"type":"REPORT","url":"https://bugzilla.suse.com/1185926"},{"type":"REPORT","url":"https://bugzilla.suse.com/1185952"},{"type":"REPORT","url":"https://bugzilla.suse.com/1187751"},{"type":"REPORT","url":"https://bugzilla.suse.com/1189748"},{"type":"REPORT","url":"https://bugzilla.suse.com/1190740"},{"type":"REPORT","url":"https://bugzilla.suse.com/1192516"},{"type":"REPORT","url":"https://bugzilla.suse.com/1195680"},{"type":"REPORT","url":"https://bugzilla.suse.com/1198166"},{"type":"REPORT","url":"https://bugzilla.suse.com/1199475"},{"type":"REPORT","url":"https://bugzilla.suse.com/1202368"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-23214"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-23222"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-32027"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-32028"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-32029"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-3677"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2022-1552"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2022-2625"}],"affected":[{"package":{"name":"postgresql12","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","purl":"pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.12-150100.3.33.1"}]}],"ecosystem_specific":{"binaries":[{"postgresql12-plperl":"12.12-150100.3.33.1","postgresql12-plpython":"12.12-150100.3.33.1","postgresql12-server-devel":"12.12-150100.3.33.1","postgresql12-server":"12.12-150100.3.33.1","libpq5":"12.12-150100.3.33.1","postgresql12-docs":"12.12-150100.3.33.1","postgresql12-pltcl":"12.12-150100.3.33.1","postgresql12":"12.12-150100.3.33.1","libecpg6":"12.12-150100.3.33.1","libpq5-32bit":"12.12-150100.3.33.1","postgresql12-contrib":"12.12-150100.3.33.1","postgresql12-devel":"12.12-150100.3.33.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:2958-1.json"}},{"package":{"name":"postgresql12","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","purl":"pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.12-150100.3.33.1"}]}],"ecosystem_specific":{"binaries":[{"postgresql12-server":"12.12-150100.3.33.1","postgresql12":"12.12-150100.3.33.1","postgresql12-contrib":"12.12-150100.3.33.1","postgresql12-devel":"12.12-150100.3.33.1","postgresql12-docs":"12.12-150100.3.33.1","postgresql12-plpython":"12.12-150100.3.33.1","postgresql12-pltcl":"12.12-150100.3.33.1","postgresql12-server-devel":"12.12-150100.3.33.1","libecpg6":"12.12-150100.3.33.1","libpq5-32bit":"12.12-150100.3.33.1","libpq5":"12.12-150100.3.33.1","postgresql12-plperl":"12.12-150100.3.33.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:2958-1.json"}},{"package":{"name":"postgresql12","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","purl":"pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.12-150100.3.33.1"}]}],"ecosystem_specific":{"binaries":[{"libecpg6":"12.12-150100.3.33.1","libpq5-32bit":"12.12-150100.3.33.1","libpq5":"12.12-150100.3.33.1","postgresql12-contrib":"12.12-150100.3.33.1","postgresql12-devel":"12.12-150100.3.33.1","postgresql12-plpython":"12.12-150100.3.33.1","postgresql12-server-devel":"12.12-150100.3.33.1","postgresql12-docs":"12.12-150100.3.33.1","postgresql12-plperl":"12.12-150100.3.33.1","postgresql12-pltcl":"12.12-150100.3.33.1","postgresql12-server":"12.12-150100.3.33.1","postgresql12":"12.12-150100.3.33.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:2958-1.json"}},{"package":{"name":"postgresql12","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","purl":"pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.12-150100.3.33.1"}]}],"ecosystem_specific":{"binaries":[{"postgresql12-plpython":"12.12-150100.3.33.1","postgresql12-pltcl":"12.12-150100.3.33.1","postgresql12":"12.12-150100.3.33.1","libpq5-32bit":"12.12-150100.3.33.1","postgresql12-contrib":"12.12-150100.3.33.1","postgresql12-devel":"12.12-150100.3.33.1","postgresql12-docs":"12.12-150100.3.33.1","postgresql12-plperl":"12.12-150100.3.33.1","postgresql12-server-devel":"12.12-150100.3.33.1","postgresql12-server":"12.12-150100.3.33.1","libecpg6":"12.12-150100.3.33.1","libpq5":"12.12-150100.3.33.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:2958-1.json"}},{"package":{"name":"postgresql12","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","purl":"pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.12-150100.3.33.1"}]}],"ecosystem_specific":{"binaries":[{"postgresql12-docs":"12.12-150100.3.33.1","postgresql12-pltcl":"12.12-150100.3.33.1","postgresql12-server-devel":"12.12-150100.3.33.1","postgresql12":"12.12-150100.3.33.1","libecpg6":"12.12-150100.3.33.1","libpq5-32bit":"12.12-150100.3.33.1","postgresql12-contrib":"12.12-150100.3.33.1","postgresql12-devel":"12.12-150100.3.33.1","postgresql12-plperl":"12.12-150100.3.33.1","postgresql12-plpython":"12.12-150100.3.33.1","postgresql12-server":"12.12-150100.3.33.1","libpq5":"12.12-150100.3.33.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:2958-1.json"}},{"package":{"name":"postgresql12","ecosystem":"SUSE:Enterprise Storage 6","purl":"pkg:rpm/suse/postgresql12&distro=SUSE%20Enterprise%20Storage%206"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.12-150100.3.33.1"}]}],"ecosystem_specific":{"binaries":[{"libpq5":"12.12-150100.3.33.1","postgresql12-docs":"12.12-150100.3.33.1","postgresql12-pltcl":"12.12-150100.3.33.1","libecpg6":"12.12-150100.3.33.1","postgresql12-contrib":"12.12-150100.3.33.1","postgresql12-devel":"12.12-150100.3.33.1","postgresql12-plperl":"12.12-150100.3.33.1","postgresql12-plpython":"12.12-150100.3.33.1","postgresql12-server-devel":"12.12-150100.3.33.1","postgresql12-server":"12.12-150100.3.33.1","postgresql12":"12.12-150100.3.33.1","libpq5-32bit":"12.12-150100.3.33.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:2958-1.json"}}],"schema_version":"1.7.5"}