RHSA-2017:2425MediumCVSS 8.5

Red Hat Security Advisory: rh-postgresql95-postgresql security update

Published
August 7, 2017
Last Modified
November 7, 2026

🔗 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)