Red Hat Security Advisory: rh-postgresql95-postgresql security update
🔗 CVE IDs covered (5)
📋 Description
CVE-2016-5423 — postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference CVE-2016-5424 — postgresql: privilege escalation via crafted database and role names CVE-2017-7484 — postgresql: Selectivity estimators bypass SELECT privilege checks CVE-2017-7485 — postgresql: libpq ignores PGREQUIRESSL environment variable CVE-2017-7486 — postgresql: pg_user_mappings view discloses foreign server passwords
🎯 Affected products72
- Red Hat Satellite 5.7 (RHEL v.6)
- Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-0:9.5.7-2.el6.src as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-0:9.5.7-2.el6.src as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-contrib-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-contrib-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-contrib-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-contrib-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-debuginfo-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-debuginfo-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-debuginfo-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-debuginfo-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-libs-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-libs-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-libs-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-libs-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-pltcl-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-pltcl-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-pltcl-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-pltcl-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-server-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-server-0:9.5.7-2.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-server-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-postgresql-server-0:9.5.7-2.el6.x86_64 as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- rh-postgresql95-runtime-0:2.2-3.el6.s390x as a component of Red Hat Satellite 5.7 (RHEL v.6)
- rh-postgresql95-runtime-0:2.2-3.el6.s390x as a component of Red Hat Satellite Managed DB 5.7 (RHEL v.6)
- +42 more not shown
✅ Remediation
As part of this upgrade, PostgreSQL data files will be moved from /opt/rh/postgresql92/root/var/lib/pgsql/ to /var/opt/rh/rh-postgresql95/lib/pgsql/. Before proceeding with command line portion of the upgrade please insure that there is enough free space under the /var/opt directory. The amount of free space required should be at least equal to size of your /opt/rh/postgresql92/root/var/lib/pgsql/ directory. This size can be determined using the following command: du -sh /opt/rh/postgresql92/root/var/lib/pgsql/ After updating packages, run following command on your database machine (NOTE: in the embedded-database case this is the Satellite system itself; otherwise, run the command on the system running your PostgreSQL database): /usr/bin/spacewalk-upgrade-postgresql postgresql92-postgresql will be upgraded to rh-postgresql95-postgresql. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258 Workaround: Use PGSSLMODE=require instead of PGREQUIRESSL=1
🔗 References (9)
- selfhttps://access.redhat.com/errata/RHSA-2017:2425
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1364001
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1364002
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1434418
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1448078
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1448086
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1448089
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2425.json