Issued:
2017-12-08
Updated:
2017-12-08

RHSA-2017:3402 - Moderate: postgresql security update


Synopsis

Moderate: postgresql security update

Type/Severity

Security Advisory Moderate

Topic

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.

Description

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

Security Fix(es):

  • Privilege escalation flaws were found in the initialization scripts of PostgreSQL. An attacker with access to the postgres user account could use these flaws to obtain root access on the server machine. (CVE-2017-12172, CVE-2017-15097)

Note: This patch drops the script privileges from root to the postgres user. Therefore, this update works properly only if the postgres user has write access to the postgres' home directory, such as the one in the default configuration (/var/lib/pgsql).

Red Hat would like to thank the PostgreSQL project for reporting CVE-2017-12172. The CVE-2017-15097 issue was discovered by Pedro Barbosa (Red Hat) and the PostgreSQL project. Upstream acknowledges Antoine Scemama (Brainloop) as the original reporter of these issues.

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.

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.7x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.6x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.4x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.7x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.5x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.4x86_64
Red Hat Enterprise Linux for Scientific Computing7x86_64
Red Hat Enterprise Linux for Power, little endian7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.6ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.5ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.4ppc64le
Red Hat Enterprise Linux for Power, big endian7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.5ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.4ppc64
Red Hat Enterprise Linux for Power 97ppc64le
Red Hat Enterprise Linux for IBM z Systems7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.4s390x
Red Hat Enterprise Linux for ARM 647aarch64
Red Hat Enterprise Linux Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.7ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.6ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.4ppc64le
Red Hat Enterprise Linux Server - TUS7.7x86_64
Red Hat Enterprise Linux Server - TUS7.6x86_64
Red Hat Enterprise Linux Server - TUS7.4x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian7ppc64le
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian7ppc64
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)7s390x
Red Hat Enterprise Linux Server - AUS7.7x86_64
Red Hat Enterprise Linux Server - AUS7.6x86_64
Red Hat Enterprise Linux Server - AUS7.4x86_64
Red Hat Enterprise Linux EUS Compute Node7.7x86_64
Red Hat Enterprise Linux EUS Compute Node7.6x86_64
Red Hat Enterprise Linux EUS Compute Node7.5x86_64
Red Hat Enterprise Linux EUS Compute Node7.4x86_64
Red Hat Enterprise Linux Desktop7x86_64

Updated Packages

  • postgresql-debuginfo-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-9.2.23-3.el7_4.src.rpm
  • postgresql-upgrade-9.2.23-3.el7_4.s390x.rpm
  • postgresql-upgrade-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-plpython-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-plpython-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-docs-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-plpython-9.2.23-3.el7_4.s390x.rpm
  • postgresql-test-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-pltcl-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-libs-9.2.23-3.el7_4.i686.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-test-9.2.23-3.el7_4.s390x.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.s390.rpm
  • postgresql-server-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-devel-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-contrib-9.2.23-3.el7_4.s390x.rpm
  • postgresql-static-9.2.23-3.el7_4.i686.rpm
  • postgresql-pltcl-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-devel-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-devel-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-9.2.23-3.el7_4.s390.rpm
  • postgresql-docs-9.2.23-3.el7_4.s390x.rpm
  • postgresql-devel-9.2.23-3.el7_4.ppc.rpm
  • postgresql-contrib-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-docs-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-plpython-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-plperl-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-devel-9.2.23-3.el7_4.i686.rpm
  • postgresql-upgrade-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-devel-9.2.23-3.el7_4.s390x.rpm
  • postgresql-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-docs-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-pltcl-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-libs-9.2.23-3.el7_4.s390x.rpm
  • postgresql-contrib-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-plperl-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.s390x.rpm
  • postgresql-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-server-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.i686.rpm
  • postgresql-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-contrib-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-server-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-libs-9.2.23-3.el7_4.ppc.rpm
  • postgresql-server-9.2.23-3.el7_4.s390x.rpm
  • postgresql-static-9.2.23-3.el7_4.ppc.rpm
  • postgresql-9.2.23-3.el7_4.ppc.rpm
  • postgresql-contrib-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-plperl-9.2.23-3.el7_4.s390x.rpm
  • postgresql-plperl-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-plperl-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-devel-9.2.23-3.el7_4.s390.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.ppc.rpm
  • postgresql-libs-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-plpython-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-libs-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-libs-9.2.23-3.el7_4.s390.rpm
  • postgresql-static-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-static-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-test-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-9.2.23-3.el7_4.i686.rpm
  • postgresql-devel-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-docs-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-pltcl-9.2.23-3.el7_4.s390x.rpm
  • postgresql-static-9.2.23-3.el7_4.s390x.rpm
  • postgresql-static-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-test-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-9.2.23-3.el7_4.s390x.rpm
  • postgresql-test-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-server-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-upgrade-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-libs-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-debuginfo-9.2.23-3.el7_4.x86_64.rpm
  • postgresql-libs-9.2.23-3.el7_4.ppc64le.rpm
  • postgresql-static-9.2.23-3.el7_4.s390.rpm
  • postgresql-pltcl-9.2.23-3.el7_4.aarch64.rpm
  • postgresql-static-9.2.23-3.el7_4.ppc64.rpm
  • postgresql-upgrade-9.2.23-3.el7_4.ppc64le.rpm

Fixes

CVEs

References


Additional information