postgresql-12 (12.4-1) unstable; urgency=medium * New upstream version. + Set a secure search_path in logical replication walsenders and apply workers (Noah Misch) A malicious user of either the publisher or subscriber database could potentially cause execution of arbitrary SQL code by the role running replication, which is often a superuser. Some of the risks here are equivalent to those described in CVE-2018-1058, and are mitigated in this patch by ensuring that the replication sender and receiver execute with empty search_path settings. (As with CVE-2018-1058, that change might cause problems for under-qualified names used in replicated tables' DDL.) Other risks are inherent in replicating objects that belong to untrusted roles; the most we can do is document that there is a hazard to consider. (CVE-2020-14349) + Make contrib modules' installation scripts more secure (Tom Lane) Attacks similar to those described in CVE-2018-1058 could be carried out against an extension installation script, if the attacker can create objects in either the extension's target schema or the schema of some prerequisite extension. Since extensions often require superuser privilege to install, this can open a path to obtaining superuser privilege. To mitigate this risk, be more careful about the search_path used to run an installation script; disable check_function_bodies within the script; and fix catalog-adjustment queries used in some contrib modules to ensure they are secure. Also provide documentation to help third-party extension authors make their installation scripts secure. This is not a complete solution; extensions that depend on other extensions can still be at risk if installed carelessly. (CVE-2020-14350) * DH 13. -- Christoph Berg Tue, 11 Aug 2020 12:07:26 +0200 postgresql-12 (12.3-1) unstable; urgency=medium * New upstream version. -- Christoph Berg Wed, 13 May 2020 09:49:16 +0200 postgresql-12 (12.2-4) unstable; urgency=medium * Disable llvm on ppc64 and s390x, segfaulting with llvm 10. https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-10/+bug/1867173 * On error, show install.log as well. -- Christoph Berg Fri, 27 Mar 2020 10:24:55 +0100 postgresql-12 (12.2-3) unstable; urgency=medium * Move to llvm 10. -- Christoph Berg Wed, 25 Mar 2020 11:22:25 +0100 postgresql-12 (12.2-2) unstable; urgency=medium * Add minimum version to server-dev -> client dependency where pg_config was moved. Spotted by Sandro Santilli, thanks! -- Christoph Berg Wed, 19 Feb 2020 11:53:47 +0100 postgresql-12 (12.2-1) unstable; urgency=medium * New upstream version. + Add missing permissions checks for ALTER ... DEPENDS ON EXTENSION. Marking an object as dependent on an extension did not have any privilege check whatsoever. This oversight allowed any user to mark routines, triggers, materialized views, or indexes as droppable by anyone able to drop an extension. Require that the calling user own the specified object (and hence have privilege to drop it). (CVE-2020-1720) * Disable llvm on riscv64 again, it's broken. * Set PROVE_FLAGS="--verbose". -- Christoph Berg Thu, 09 Jan 2020 18:52:09 +0100 postgresql-12 (12.1-2) unstable; urgency=medium * Move pg_config and pgxs to postgresql-client package to be able to test extension packages using only their native dependencies. (Closes: #944457) * Enable llvm on riscv64. -- Christoph Berg Wed, 08 Jan 2020 16:14:44 +0100 postgresql-12 (12.1-1) unstable; urgency=medium * New upstream version. * Drop obsolete python-dev build-dependency. (Closes: #943214) -- Christoph Berg Tue, 12 Nov 2019 11:33:45 +0100 postgresql-12 (12.0-2) unstable; urgency=medium * Put back pqsignal() as an exported libpq symbol. Fixes regressions in pg-repack and repmgr, and PostgreSQL server versions 9.2 and earlier. -- Christoph Berg Fri, 11 Oct 2019 09:38:36 +0200 postgresql-12 (12.0-1) unstable; urgency=medium * First PostgreSQL 12 release. * Disable jit on powerpc again, it's still broken. * Disable jit on riscv64, llvm-9 not yet available. -- Christoph Berg Wed, 02 Oct 2019 14:45:00 +0200 postgresql-12 (12~rc1-1) unstable; urgency=medium * New upstream rc version. * debian/tests/installcheck: Disable llvm bitcode compilation, not needed. * Revert back to libecpg6, the DECLARE STATEMENT feature was reverted. * Use llvm 9; enable jit on powerpc. -- Christoph Berg Fri, 13 Sep 2019 10:35:58 +0200 postgresql-12 (12~beta4-1) experimental; urgency=medium * New upstream beta version. * Drop plpython(2) package; python 2 is EOL. * Move plperl bitcode files to plperl package. * Move plpython mo files to plpython3 package. * rules: Remove stamp files logic. -- Christoph Berg Wed, 11 Sep 2019 10:12:12 +0200 postgresql-12 (12~beta3-1) experimental; urgency=medium * New upstream beta version. * debian/tests: Also run regression tests. -- Christoph Berg Wed, 07 Aug 2019 11:04:52 +0200 postgresql-12 (12~beta2-1) experimental; urgency=medium * New upstream beta version. * debian/pycompat: Obsolete, remove. * debian/patches: Add missing patch documentation. * debian/rules: Use /usr/share/dpkg/pkg-info.mk and vendor.mk for --with-extra-version. * debian/copyright: sha2 moved to src/common, remove fortuna and random. * debian/*.symbols: Add Build-Depends-Package information. * postgresql-plpython3-12: Remove empty directory /usr/lib/postgresql/12/lib/pgxs/src/pl/plpython. -- Christoph Berg Tue, 18 Jun 2019 11:00:03 +0200 postgresql-12 (12~beta1-1) experimental; urgency=medium * New major upstream version 12; packaging based on postgresql-11. * libpq5.symbols: Remove pqsignal. * Drop patch 64-pg_upgrade-sockdir, handled via pg_upgrade --socketdir now. * Bump to libecpg7. -- Christoph Berg Tue, 21 May 2019 09:30:47 +0200