RedHat: RHSA-2017-3403:01 Moderate: rh-postgresql94-postgresql security
Summary
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, we dropped the --new-systemd-unit option for security
reasons. Please use the root-only script postgresql-new-systemd-unit.
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.
Summary
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.
References
https://access.redhat.com/security/cve/CVE-2017-12172 https://access.redhat.com/security/cve/CVE-2017-15097 https://access.redhat.com/security/updates/classification/#moderate
Package List
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):
Source:
rh-postgresql94-postgresql-9.4.14-2.el6.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7):
Source:
rh-postgresql94-postgresql-9.4.14-2.el6.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6):
Source:
rh-postgresql94-postgresql-9.4.14-2.el6.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el6.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):
Source:
rh-postgresql94-postgresql-9.4.14-2.el7.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3):
Source:
rh-postgresql94-postgresql-9.4.14-2.el7.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4):
Source:
rh-postgresql94-postgresql-9.4.14-2.el7.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):
Source:
rh-postgresql94-postgresql-9.4.14-2.el7.src.rpm
x86_64:
rh-postgresql94-postgresql-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-contrib-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-debuginfo-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-devel-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-docs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-libs-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plperl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-plpython-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-pltcl-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-server-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-static-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-test-9.4.14-2.el7.x86_64.rpm
rh-postgresql94-postgresql-upgrade-9.4.14-2.el7.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for rh-postgresql94-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.
Topic
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.7) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) - 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
1498394 - CVE-2017-12172 postgresql: Start scripts permit database administrator to modify root-owned files
1508985 - CVE-2017-15097 postgresql: Start scripts permit database administrator to modify root-owned files