- 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
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.7 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.4 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.7 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.5 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.4 | x86_64 |
| Red Hat Enterprise Linux for Scientific Computing | 7 | x86_64 |
| Red Hat Enterprise Linux for Power, little endian | 7 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.7 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.6 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.5 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.4 | ppc64le |
| Red Hat Enterprise Linux for Power, big endian | 7 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.7 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.6 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.5 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.4 | ppc64 |
| Red Hat Enterprise Linux for Power 9 | 7 | ppc64le |
| Red Hat Enterprise Linux for IBM z Systems | 7 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.7 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.6 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.5 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.4 | s390x |
| Red Hat Enterprise Linux for ARM 64 | 7 | aarch64 |
| Red Hat Enterprise Linux Workstation | 7 | x86_64 |
| Red Hat Enterprise Linux Server | 7 | x86_64 |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.7 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.6 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.4 | ppc64le |
| Red Hat Enterprise Linux Server - TUS | 7.7 | x86_64 |
| Red Hat Enterprise Linux Server - TUS | 7.6 | x86_64 |
| Red Hat Enterprise Linux Server - TUS | 7.4 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 7 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian | 7 | ppc64le |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian | 7 | ppc64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 7 | s390x |
| Red Hat Enterprise Linux Server - AUS | 7.7 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 7.6 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 7.4 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.7 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.6 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.5 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.4 | x86_64 |
| Red Hat Enterprise Linux Desktop | 7 | x86_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
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.