The PostgreSQL Global Development Group has released an update to all

supported versions of our database system, including 12.2, 11.7, 10.12,
9.6.17, 9.5.21, and 9.4.26. This release fixes one security issue found
in the PostgreSQL server and over 75 bugs reported over the last three
months.

Users should plan to update as soon as possible.

PostgreSQL 9.4 Now EOL

This is the last release for PostgreSQL 9.4, which will no longer
receive security updates and bug fixes. PostgreSQL 9.4 introduced new
features such as JSONB support, the `ALTER SYSTEM` command, the ability
to stream logical changes to an output plugin, and more:

 https://www.postgresql.org/about/news/1557/
 https://www.postgresql.org/docs/9.4/release-9-4.html

While we are very proud of this release, these features are also found
in newer versions of PostgreSQL. Many of these features have also
received improvements, and, per our versioning policy, it is time to
retire PostgreSQL 9.4.

To receive continued support, we suggest that you make plans to upgrade
to a newer, supported version of PostgreSQL. Please see the PostgreSQL
versioning policy for more information.

Security Issues

* CVE-2020-1720: `ALTER ... DEPENDS ON EXTENSION` is missing
authorization checks.

Versions Affected: 9.6 - 12

The `ALTER ... DEPENDS ON EXTENSION` sub-commands do not perform
authorization checks, which can allow an unprivileged user to  drop any
function, procedure, materialized view, index, or trigger under certain
conditions. This attack is possible if an administrator has installed an
extension and an unprivileged user can `CREATE`, or an extension owner
either executes `DROP EXTENSION` predictably or can be convinced to
execute `DROP EXTENSION`.

Release notes: https://www.postgresql.org/docs/current/release.html
This commit is contained in:
Palle Girgensohn 2020-02-13 19:14:36 +00:00
parent b01411ae7a
commit 0782cccb13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526063
14 changed files with 45 additions and 26 deletions

View File

@ -1,7 +1,7 @@
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
DISTVERSION?= 10.11
DISTVERSION?= 10.12
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
PORTREVISION?= 0

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1573552509
SHA256 (postgresql/postgresql-10.11.tar.bz2) = 0d5d14ff6b075655f4421038fbde3a5d7b418c26a249a187a4175600d7aecc09
SIZE (postgresql/postgresql-10.11.tar.bz2) = 19017947
TIMESTAMP = 1581419815
SHA256 (postgresql/postgresql-10.12.tar.bz2) = 388f7f888c4fbcbdf424ec2bce52535195b426010b720af7bea767e23e594ae7
SIZE (postgresql/postgresql-10.12.tar.bz2) = 19020488

View File

@ -1,7 +1,7 @@
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
DISTVERSION?= 11.6
DISTVERSION?= 11.7
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
PORTREVISION?= 0

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1573552509
SHA256 (postgresql/postgresql-11.6.tar.bz2) = 49924f7ff92965fdb20c86e0696f2dc9f8553e1563124ead7beedf8910c13170
SIZE (postgresql/postgresql-11.6.tar.bz2) = 19843202
TIMESTAMP = 1581419816
SHA256 (postgresql/postgresql-11.7.tar.bz2) = 324ae93a8846fbb6a25d562d271bc441ffa8794654c5b2839384834de220a313
SIZE (postgresql/postgresql-11.7.tar.bz2) = 19890063

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME?= postgresql
DISTVERSION?= 12.1
DISTVERSION?= 12.2
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
PORTREVISION?= 0
@ -92,8 +92,9 @@ TZDATA_DESC= Use internal timezone database
XML_DESC= Build with XML data type
.if ${DISTVERSION:C/([0-9]*).*/\1/} >= 11
OPTIONS_DEFINE+=LLVM
LLVM_DESC= Build with support for JIT-compiling expressions
OPTIONS_DEFINE+= LLVM
LLVM_DESC= Build with support for JIT-compiling expressions
OPTIONS_DEFAULT+= LLVM
.endif
.if ${DISTVERSION:C/([0-9]*).*/\1/} < 10

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1573552509
SHA256 (postgresql/postgresql-12.1.tar.bz2) = a09bf3abbaf6763980d0f8acbb943b7629a8b20073de18d867aecdb7988483ed
SIZE (postgresql/postgresql-12.1.tar.bz2) = 20213711
TIMESTAMP = 1581419817
SHA256 (postgresql/postgresql-12.2.tar.bz2) = ad1dcc4c4fc500786b745635a9e1eba950195ce20b8913f50345bb7d5369b5de
SIZE (postgresql/postgresql-12.2.tar.bz2) = 20363545

View File

@ -1143,6 +1143,8 @@ man/man7/WITH.7.gz
%%NLS%%share/locale/fr/LC_MESSAGES/ecpglib6-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/libpq5-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_config-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_dump-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pgscripts-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/psql-12.mo
%%NLS%%share/locale/he/LC_MESSAGES/libpq5-12.mo
%%NLS%%share/locale/he/LC_MESSAGES/pg_config-12.mo
@ -1162,6 +1164,9 @@ man/man7/WITH.7.gz
%%NLS%%share/locale/ko/LC_MESSAGES/ecpglib6-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/libpq5-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_config-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_dump-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pgscripts-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/psql-12.mo
%%NLS%%share/locale/pl/LC_MESSAGES/ecpg-12.mo
%%NLS%%share/locale/pl/LC_MESSAGES/ecpglib6-12.mo
%%NLS%%share/locale/pl/LC_MESSAGES/pg_config-12.mo

View File

@ -777,8 +777,12 @@ lib/libpgcommon.a
%%NLS%%share/locale/es/LC_MESSAGES/postgres-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/initdb-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_archivecleanup-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_basebackup-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_checksums-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_controldata-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_ctl-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_resetwal-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_rewind-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_test_fsync-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_test_timing-12.mo
%%NLS%%share/locale/fr/LC_MESSAGES/pg_upgrade-12.mo
@ -804,11 +808,18 @@ lib/libpgcommon.a
%%NLS%%share/locale/ja/LC_MESSAGES/pg_waldump-12.mo
%%NLS%%share/locale/ja/LC_MESSAGES/plpgsql-12.mo
%%NLS%%share/locale/ja/LC_MESSAGES/postgres-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/initdb-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_archivecleanup-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_basebackup-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_checksums-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_controldata-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_ctl-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_resetwal-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_rewind-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_test_fsync-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_test_timing-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_upgrade-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/pg_waldump-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/plpgsql-12.mo
%%NLS%%share/locale/ko/LC_MESSAGES/postgres-12.mo
%%NLS%%share/locale/pl/LC_MESSAGES/pg_controldata-12.mo
@ -860,6 +871,8 @@ lib/libpgcommon.a
%%NLS%%share/locale/tr/LC_MESSAGES/pg_waldump-12.mo
%%NLS%%share/locale/tr/LC_MESSAGES/plpgsql-12.mo
%%NLS%%share/locale/tr/LC_MESSAGES/postgres-12.mo
%%NLS%%share/locale/uk/LC_MESSAGES/initdb-12.mo
%%NLS%%share/locale/uk/LC_MESSAGES/pg_archivecleanup-12.mo
%%NLS%%share/locale/uk/LC_MESSAGES/pg_controldata-12.mo
%%NLS%%share/locale/uk/LC_MESSAGES/pg_ctl-12.mo
%%NLS%%share/locale/uk/LC_MESSAGES/pg_test_fsync-12.mo

View File

@ -1,7 +1,7 @@
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
DISTVERSION?= 9.4.25
DISTVERSION?= 9.4.26
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
PORTREVISION?= 0

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1573552509
SHA256 (postgresql/postgresql-9.4.25.tar.bz2) = cb98afaef4748de76c13202c14198e3e4717adde49fd9c90fdc81da877520928
SIZE (postgresql/postgresql-9.4.25.tar.bz2) = 16849015
TIMESTAMP = 1581419818
SHA256 (postgresql/postgresql-9.4.26.tar.bz2) = f5c014fc4a5c94e8cf11314cbadcade4d84213cfcc82081c9123e1b8847a20b9
SIZE (postgresql/postgresql-9.4.26.tar.bz2) = 16871195
SHA256 (postgresql/pg-949-icu-2016-10-02.diff.gz) = 34612e685a79874db04bc6b66c700bfc6412042840c532eef0da7832d1f70d43
SIZE (postgresql/pg-949-icu-2016-10-02.diff.gz) = 5289

View File

@ -1,7 +1,7 @@
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
DISTVERSION?= 9.5.20
DISTVERSION?= 9.5.21
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
PORTREVISION?= 0

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1573552509
SHA256 (postgresql/postgresql-9.5.20.tar.bz2) = 925751b375cf975bebbe79753fbcb5fe85d7a62abe516d4c56861a6b877dde0d
SIZE (postgresql/postgresql-9.5.20.tar.bz2) = 17610134
TIMESTAMP = 1581419819
SHA256 (postgresql/postgresql-9.5.21.tar.bz2) = 7eb56e4fa877243c2df78adc5a0ef02f851060c282682b4bb97b854100fb732c
SIZE (postgresql/postgresql-9.5.21.tar.bz2) = 17640928
SHA256 (postgresql/pg-954-icu-2016-08-10.diff.gz) = 5fa083ec38087d6a0961642208f012e902221270708b919b92e9eedaa755e365
SIZE (postgresql/pg-954-icu-2016-08-10.diff.gz) = 5952

View File

@ -1,7 +1,7 @@
# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
DISTVERSION?= 9.6.16
DISTVERSION?= 9.6.17
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
# not their own. Probably best to keep it at ?=0 when reset here too.
PORTREVISION?= 0

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1573552509
SHA256 (postgresql/postgresql-9.6.16.tar.bz2) = 5c6cba9cc0df70ba2b128c4a87d0babfce7c0e2b888f70a9c8485745f66b22e7
SIZE (postgresql/postgresql-9.6.16.tar.bz2) = 18806372
TIMESTAMP = 1581419696
SHA256 (postgresql/postgresql-9.6.17.tar.bz2) = f6e1e32d32545f97c066f3c19f4d58dfab1205c01252cf85c5c92294ace1a0c2
SIZE (postgresql/postgresql-9.6.17.tar.bz2) = 18812282
SHA256 (postgresql/pg-96b4-icu-2016-10-02.diff.gz) = 85f81baa0fc8f692bcf802c8645196d9e3afdef4f760cef712d940b87655486e
SIZE (postgresql/pg-96b4-icu-2016-10-02.diff.gz) = 5998