CVE-2017-7484
publishedpostgresql: Selectivity estimators bypass SELECT privilege checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The PostgreSQL Global Development Group | — | PostgreSQL9.2 - 9.6 | Affected | Not stated | redhat |
| Alpine Linux | v3.10 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Debian | jessie | postgresql-9.4 | Advisory build | 9.4.12-0+deb8u1 | DSA-3851-1 |
| Oracle Linux | 7 | postgresqlaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresqlsrc | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Alpine Linux | v3.11 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.3 | postgresql | Fixed | 9.4.12-r0 | Package fix record |
| Alpine Linux | v3.4 | postgresql | Fixed | 9.5.7-r0 | Package fix record |
| Alpine Linux | v3.5 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.6 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.7 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.8 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Oracle Linux | 7 | postgresqlx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-contribaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-contribx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-develaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-develx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-docsaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-docsx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-libsaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-libsx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-plperlaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-plperlx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-plpythonaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-plpythonx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-pltclaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-pltclx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-serveraarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-serverx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-staticaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-staticx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-testaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-testx86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-upgradeaarch64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Oracle Linux | 7 | postgresql-upgradex86_64 | Advisory build | 0:9.2.21-1.el7 | ELSA-2017-1983 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresqlx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-contribx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-debuginfox86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-develx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-docsx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-libsx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-plperlx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-plpythonx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-pltclx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-serverx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-staticx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-testx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-upgradex86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlsrc | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-contribx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-debuginfox86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-develx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-docsx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-libsx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plperlx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plpythonx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-pltclx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-serverx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-staticx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-testx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlaarch64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqli686 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64le | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390x | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlsrc | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlx86_64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribaarch64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribppc64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribppc64le | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribs390x | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribx86_64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoaarch64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoi686 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc64le | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfos390 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfos390x | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfox86_64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develaarch64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develi686 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develppc | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develppc64 | Advisory build | 9.2.21-1.el7 | RHSA-2017:1983 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
It was found that some selectivity estimation functions in PostgreSQL before 9.2.21, 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3 did not check user privileges before providing information from pg_statistic, possibly leaking information. An unprivileged attacker could use this flaw to steal some information from tables they are otherwise not allowed to access.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The PostgreSQL Global Development Group | PostgreSQL | 9.2 - 9.6 (affected) | redhat · cna |
Weaknesses
1- CWE-285
References
10- DSA-3851 http://www.debian.org/security/2017/dsa-3851
- 98459 http://www.securityfocus.com/bid/98459
- 1038476 http://www.securitytracker.com/id/1038476
- RHSA-2017:1677 https://access.redhat.com/errata/RHSA-2017:1677
- RHSA-2017:1678 https://access.redhat.com/errata/RHSA-2017:1678
- RHSA-2017:1838 https://access.redhat.com/errata/RHSA-2017:1838
- RHSA-2017:1983 https://access.redhat.com/errata/RHSA-2017:1983
- RHSA-2017:2425 https://access.redhat.com/errata/RHSA-2017:2425
- GLSA-201710-06 https://security.gentoo.org/glsa/201710-06
- https://www.postgresql.org/about/news/1746/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0f58e94cdca81528b7e409a46d7e8e1ea5c901c8c0aba87c348c4f3241624d1c
- Ingested
- 23 Sep 2026, 07:42:53 UTC
- Source record
- Official CVE record