Synopsis:          Moderate: postgresql security and bug fix update
Advisory ID:       SLSA-2016:2606-2
Issue Date:        2016-11-03
CVE Numbers:       CVE-2016-5423
                   CVE-2016-5424
--

The following packages have been upgraded to a newer upstream version:
postgresql (9.2.18).

Security Fix(es):

* A flaw was found in the way PostgreSQL server handled certain SQL
statements containing CASE/WHEN commands. A remote, authenticated attacker
could use a specially crafted SQL statement to cause PostgreSQL to crash
or disclose a few bytes of server memory or possibly execute arbitrary
code. (CVE-2016-5423)

* A flaw was found in the way PostgreSQL client programs handled database
and role names containing newlines, carriage returns, double quotes, or
backslashes. By crafting such an object name, roles with the CREATEDB or
CREATEROLE option could escalate their privileges to superuser when a
superuser next executes maintenance with a vulnerable client program.
(CVE-2016-5424)

Additional Changes:
--

SL7
  x86_64
    postgresql-debuginfo-9.2.18-1.el7.i686.rpm
    postgresql-debuginfo-9.2.18-1.el7.x86_64.rpm
    postgresql-libs-9.2.18-1.el7.i686.rpm
    postgresql-libs-9.2.18-1.el7.x86_64.rpm
    postgresql-9.2.18-1.el7.i686.rpm
    postgresql-9.2.18-1.el7.x86_64.rpm
    postgresql-contrib-9.2.18-1.el7.x86_64.rpm
    postgresql-devel-9.2.18-1.el7.i686.rpm
    postgresql-devel-9.2.18-1.el7.x86_64.rpm
    postgresql-docs-9.2.18-1.el7.x86_64.rpm
    postgresql-plperl-9.2.18-1.el7.x86_64.rpm
    postgresql-plpython-9.2.18-1.el7.x86_64.rpm
    postgresql-pltcl-9.2.18-1.el7.x86_64.rpm
    postgresql-server-9.2.18-1.el7.x86_64.rpm
    postgresql-test-9.2.18-1.el7.x86_64.rpm
    postgresql-upgrade-9.2.18-1.el7.x86_64.rpm

- Scientific Linux Development Team