RHSA-2017:3402

Type: Security
Severity: Moderate
Published: 2017-12-08
Red Hat Enterprise Linux 7

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.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:05:22.621Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-28T02:05:22.621Z UTC. Last updated 2026-10-07T05:18:13.823Z UTC.

Upstream Advisory

Affected Packages

  • postgresql 9.2.23-3.el7_4

  • postgresql-contrib 9.2.23-3.el7_4

  • postgresql-devel 9.2.23-3.el7_4

  • postgresql-docs 9.2.23-3.el7_4

  • postgresql-libs 9.2.23-3.el7_4

  • postgresql-plperl 9.2.23-3.el7_4

  • postgresql-plpython 9.2.23-3.el7_4

  • postgresql-pltcl 9.2.23-3.el7_4

  • postgresql-server 9.2.23-3.el7_4

  • postgresql-static 9.2.23-3.el7_4

  • postgresql-test 9.2.23-3.el7_4

  • postgresql-upgrade 9.2.23-3.el7_4

Interested in being alerted when there are new versions of postgresql and the other packages? Set up an alert.
RHSA-2017:3402: postgresql security update | Package Alert