Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Red Hat: RHSA-2016-1821 Moderate: PostgreSQL Security Update

red hat
Calendar Grey September 7, 2016
Scroller Redhat
The Debian team releases an urgent patch for postgresql-9.5, tackling significant vulnerabilities. Discover further details.
An update for rh-postgresql95-postgresql is now available for Red Hat Software Collections

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

If the postgresql service is running, it will be automatically restarted after installing this update.

Summary

PostgreSQL is an advanced object-relational database management system (DBMS).
The following packages have been upgraded to a newer upstream version: rh-postgresql95-postgresql (9.5.4)
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.

References

https://access.redhat.com/security/cve/CVE-2016-5423 https://access.redhat.com/security/cve/CVE-2016-5424 https://access.redhat.com/security/updates/classification/#moderate https://www.postgresql.org/about/news/2016-08-11-security-update-release-1688/ https://www.postgresql.org/docs/9.5/release-9-5-4.html

Package List

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):
Source: rh-postgresql95-postgresql-9.5.4-1.el6.src.rpm
x86_64: rh-postgresql95-postgresql-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-contrib-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-debuginfo-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-devel-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-docs-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-libs-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-plperl-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-plpython-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-pltcl-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-server-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-static-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-test-9.5.4-1.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6):
Source: rh-postgresql95-postgresql-9.5.4-1.el6.src.rpm
x86_64: rh-postgresql95-postgresql-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-contrib-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-debuginfo-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-devel-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-docs-9.5.4-1.el6.x86_64.rpm rh-postgresql95-postgresql-libs-9.5.4-1.el6.x86_64.rpm

Read the Full Advisory


Advisory ID: RHSA-2016:1821-01
Product: Red Hat Software Collections
Issue date: 2016-09-07

Topic

An update for rh-postgresql95-postgresql is now available for Red HatSoftware Collections.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Bugs Fixed

1364001 - CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference

1364002 - CVE-2016-5424 postgresql: privilege escalation via crafted database and role names

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.