PostgreSQL maintains column statistics for tables. Certain statistics, such as histograms and lists of most common values, contain values taken from the column. PostgreSQL does not check privileges before consulting those statistics during query planning; an attacker can exploit this to view the most common values of arbitrary columns.
Acknowledgments: Name: the PostgreSQL project Upstream: Robert Haas
Upstream set of patches : * Add security checks to selectivity estimation functions https://github.com/postgres/postgres/commit/e2d4ef8de * Fix possibly-uninitialized variable. https://github.com/postgres/postgres/commit/b6576e59 * Further patch rangetypes_selfuncs.c's statistics slot management. https://github.com/postgres/postgres/commit/da075960
External References: https://www.postgresql.org/about/news/1746/
Created mingw-postgresql tracking bugs for this issue: Affects: epel-7 [bug 1450116] Affects: fedora-all [bug 1450117] Created postgresql tracking bugs for this issue: Affects: fedora-all [bug 1450115]
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Via RHSA-2017:1677 https://access.redhat.com/errata/RHSA-2017:1677
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Via RHSA-2017:1678 https://access.redhat.com/errata/RHSA-2017:1678
This issue has been addressed in the following products: Red Hat Satellite 5.8 Red Hat Satellite 5.8 ELS Via RHSA-2017:1838 https://access.redhat.com/errata/RHSA-2017:1838
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2017:1983 https://access.redhat.com/errata/RHSA-2017:1983
This issue has been addressed in the following products: Red Hat Satellite 5.7 Via RHSA-2017:2425 https://access.redhat.com/errata/RHSA-2017:2425