CentOS 7 : postgresql (CESA-2016:2606)

Medium Nessus Plugin ID 95352

Synopsis

The remote CentOS host is missing one or more security updates.

Description

An update for postgresql is now available for Red Hat Enterprise Linux
7.

Red Hat Product Security has rated this update as having a security
impact of Moderate. A Common Vulnerability Scoring System (CVSS) base
score, which gives a detailed severity rating, is available for each
vulnerability from the CVE link(s) in the References section.

PostgreSQL is an advanced object-relational database management system
(DBMS).

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)

Red Hat would like to thank the PostgreSQL project for reporting these
issues. Upstream acknowledges Heikki Linnakangas as the original
reporter of CVE-2016-5423; and Nathan Bossart as the original reporter
of CVE-2016-5424.

Additional Changes :

For detailed information on changes in this release, see the Red Hat
Enterprise Linux 7.3 Release Notes linked from the References section.

Solution

Update the affected postgresql packages.

See Also

http://www.nessus.org/u?c8bcbaff

Plugin Details

Severity: Medium

ID: 95352

File Name: centos_RHSA-2016-2606.nasl

Version: 3.8

Type: local

Agent: unix

Published: 2016/11/28

Modified: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 8.3

Temporal Score: 7.2

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:centos:centos:postgresql, p-cpe:/a:centos:centos:postgresql-contrib, p-cpe:/a:centos:centos:postgresql-devel, p-cpe:/a:centos:centos:postgresql-docs, p-cpe:/a:centos:centos:postgresql-libs, p-cpe:/a:centos:centos:postgresql-plperl, p-cpe:/a:centos:centos:postgresql-plpython, p-cpe:/a:centos:centos:postgresql-pltcl, p-cpe:/a:centos:centos:postgresql-server, p-cpe:/a:centos:centos:postgresql-test, p-cpe:/a:centos:centos:postgresql-upgrade, cpe:/o:centos:centos:7

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2016/11/25

Reference Information

CVE: CVE-2016-5423, CVE-2016-5424

RHSA: 2016:2606