postgresql: Selectivity estimators bypass SELECT privilege checks
Published May 12, 2017
7.5
HIGHCVSS 3.0
EPSS 2.56%
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.
Affected products
-
- Version 9.2 - 9.6StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| The PostgreSQL Global Development Group | PostgreSQL | n/a |
|
- ≤ 9.2.20
- 9.3
- 9.3.1
- 9.3.2
- 9.3.3
- 9.3.4
- 9.3.5
- 9.3.6
- 9.3.7
- 9.3.8
- 9.3.9
- 9.3.10
- 9.3.11
- 9.3.12
- 9.3.13
- 9.3.14
- 9.3.15
- 9.3.16
- 9.4
- 9.4.1
- 9.4.2
- 9.4.3
- 9.4.4
- 9.4.5
- 9.4.6
- 9.4.7
- 9.4.8
- 9.4.9
- 9.4.10
- 9.4.11
- 9.5
- 9.5.1
- 9.5.2
- 9.5.3
- 9.5.4
- 9.5.5
- 9.5.6
- 9.6
- 9.6.1
- 9.6.2
No data.
Red Hat Enterprise Linux 7
postgresql-0:9.2.21-1.el7
Fixed · RHSA-2017:1983
Red Hat Satellite 5.7
rh-postgresql95-0:2.2-3.el6
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
rh-postgresql95-0:2.2-3.el6
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-backend-0:2.3.3-53.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-backend-0:2.3.3-53.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-postgresql-server-0:9.5-1.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-postgresql-server-0:9.5-1.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-setup-postgresql-0:2.3.0-27.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-setup-postgresql-0:2.3.0-27.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-utils-0:2.3.2-32.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-utils-0:2.3.2-32.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-web-0:2.3.2-35.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.7
spacewalk-web-0:2.3.2-35.el6sat
Fixed · RHSA-2017:2425
Red Hat Satellite 5.8
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:1838
Red Hat Satellite 5.8
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:1838
Red Hat Satellite 5.8 ELS
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:1838
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql94-postgresql-0:9.4.12-1.el6
Fixed · RHSA-2017:1678
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:1677
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql94-postgresql-0:9.4.12-1.el6
Fixed · RHSA-2017:1678
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql95-postgresql-0:9.5.7-2.el6
Fixed · RHSA-2017:1677
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql94-postgresql-0:9.4.12-1.el7
Fixed · RHSA-2017:1678
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql95-postgresql-0:9.5.7-2.el7
Fixed · RHSA-2017:1677
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql94-postgresql-0:9.4.12-1.el7
Fixed · RHSA-2017:1678
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql95-postgresql-0:9.5.7-2.el7
Fixed · RHSA-2017:1677
CloudForms Management Engine 5
rh-postgresql94-postgresql
Affected
CloudForms Management Engine 5
rh-postgresql95-postgresql
Affected
Red Hat Enterprise Linux 5
postgresql
Will not fix
Red Hat Enterprise Linux 5
postgresql84
Will not fix
Red Hat Enterprise Linux 6
postgresql
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | postgresql-0:9.2.21-1.el7 | Fixed | RHSA-2017:1983 |
| Red Hat Satellite 5.7 | rh-postgresql95-0:2.2-3.el6 | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | rh-postgresql95-0:2.2-3.el6 | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-backend-0:2.3.3-53.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-backend-0:2.3.3-53.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-postgresql-server-0:9.5-1.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-postgresql-server-0:9.5-1.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-setup-postgresql-0:2.3.0-27.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-setup-postgresql-0:2.3.0-27.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-utils-0:2.3.2-32.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-utils-0:2.3.2-32.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-web-0:2.3.2-35.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.7 | spacewalk-web-0:2.3.2-35.el6sat | Fixed | RHSA-2017:2425 |
| Red Hat Satellite 5.8 | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:1838 |
| Red Hat Satellite 5.8 | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:1838 |
| Red Hat Satellite 5.8 ELS | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:1838 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql94-postgresql-0:9.4.12-1.el6 | Fixed | RHSA-2017:1678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:1677 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql94-postgresql-0:9.4.12-1.el6 | Fixed | RHSA-2017:1678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql95-postgresql-0:9.5.7-2.el6 | Fixed | RHSA-2017:1677 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql94-postgresql-0:9.4.12-1.el7 | Fixed | RHSA-2017:1678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql95-postgresql-0:9.5.7-2.el7 | Fixed | RHSA-2017:1677 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql94-postgresql-0:9.4.12-1.el7 | Fixed | RHSA-2017:1678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql95-postgresql-0:9.5.7-2.el7 | Fixed | RHSA-2017:1677 |
| CloudForms Management Engine 5 | rh-postgresql94-postgresql | Affected | n/a |
| CloudForms Management Engine 5 | rh-postgresql95-postgresql | Affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.56% (0.02560) | 84.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.56% (0.02560) | 83.00th | v5 (v2026.06.15) |
| Aug 20, 2025 | 2.08% (0.02085) | 83.29th | v4 (v2025.03.14) |
| Mar 30, 2025 | 0.90% (0.00897) | 73.52th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.20% (0.02204) | 74.00th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.90% (0.00897) | 74.00th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.45% (0.00451) | 75.94th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.45% (0.00451) | 74.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.45% (0.00451) | 71.17th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.27% (0.02273) | 50.89th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.27% (0.02273) | 0.00th | v1 |
References (14)
- http://www.debian.org/security/2017/dsa-3851 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/98459 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038476 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/errata/RHSA-2017:1677 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:1678 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:1838 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:1983 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2425 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-7484 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1448078 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-7484
- https://security.gentoo.org/glsa/201710-06 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-7484
- https://www.postgresql.org/about/news/1746/ x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.