postgresql: pg_user_mappings view discloses foreign server passwords
Published May 12, 2017
7.5
HIGHCVSS 3.0
EPSS 6.33%
Description
PostgreSQL versions 8.4 - 9.6 are vulnerable to information leak in pg_user_mappings view which discloses foreign server passwords to any user having USAGE privilege on the associated foreign server.
Affected products
-
- Version 8.4 - 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 |
|
- 8.4
- 8.4.1
- 8.4.2
- 8.4.3
- 8.4.4
- 8.4.5
- 8.4.6
- 8.4.7
- 8.4.8
- 8.4.9
- 8.4.10
- 8.4.11
- 8.4.12
- 8.4.13
- 8.4.14
- 8.4.15
- 8.4.16
- 8.4.17
- 8.4.18
- 8.4.19
- 8.4.20
- 8.4.21
- 8.4.22
- 9.0
- 9.0.1
- 9.0.2
- 9.0.3
- 9.0.4
- 9.0.5
- 9.0.6
- 9.0.7
- 9.0.8
- 9.0.9
- 9.0.10
- 9.0.11
- 9.0.12
- 9.0.13
- 9.0.14
- 9.0.15
- 9.0.16
- 9.0.17
- 9.0.18
- 9.0.19
- 9.0.20
- 9.0.21
- 9.0.22
- 9.0.23
- 9.1
- 9.1.1
- 9.1.2
- 9.1.3
- 9.1.4
- 9.1.5
- 9.1.6
- 9.1.7
- 9.1.8
- 9.1.9
- 9.1.10
- 9.1.11
- 9.1.12
- 9.1.13
- 9.1.14
- 9.1.15
- 9.1.16
- 9.1.17
- 9.1.18
- 9.1.19
- 9.1.20
- 9.1.21
- 9.1.22
- 9.1.23
- 9.1.24
- 9.2
- 9.2.1
- 9.2.2
- 9.2.3
- 9.2.4
- 9.2.5
- 9.2.6
- 9.2.7
- 9.2.8
- 9.2.9
- 9.2.10
- 9.2.11
- 9.2.12
- 9.2.13
- 9.2.14
- 9.2.15
- 9.2.16
- 9.2.17
- 9.2.18
- 9.2.19
- 9.2.20
- 9.2.21
- 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.3.17
- 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.4.12
- 9.5
- 9.5.1
- 9.5.2
- 9.5.3
- 9.5.4
- 9.5.5
- 9.5.6
- 9.5.7
- 9.6
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
Not affected
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 | Not affected | 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:L/A:L
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 v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (62 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 6.33% (0.06331) | 93.42th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.33% (0.06331) | 92.71th | v5 (v2026.06.15) |
| Mar 4, 2026 | 4.18% (0.04182) | 88.49th | v4 (v2025.03.14) |
| Mar 1, 2026 | 1.23% (0.01230) | 79.00th | v4 (v2025.03.14) |
| Feb 4, 2026 | 4.29% (0.04292) | 88.58th | v4 (v2025.03.14) |
| Feb 1, 2026 | 1.26% (0.01264) | 79.14th | v4 (v2025.03.14) |
| Jan 16, 2026 | 4.18% (0.04182) | 88.37th | v4 (v2025.03.14) |
| Jan 4, 2026 | 6.39% (0.06394) | 90.71th | v4 (v2025.03.14) |
| Jan 1, 2026 | 1.96% (0.01955) | 83.11th | v4 (v2025.03.14) |
| Dec 14, 2025 | 6.23% (0.06234) | 90.53th | v4 (v2025.03.14) |
| Dec 4, 2025 | 4.12% (0.04124) | 88.20th | v4 (v2025.03.14) |
| Dec 1, 2025 | 1.29% (0.01292) | 79.15th | v4 (v2025.03.14) |
| Nov 21, 2025 | 4.12% (0.04124) | 88.14th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.68% (0.02679) | 84.52th | v4 (v2025.03.14) |
| Nov 4, 2025 | 4.12% (0.04124) | 88.11th | v4 (v2025.03.14) |
| Nov 1, 2025 | 1.29% (0.01292) | 79.12th | v4 (v2025.03.14) |
| Oct 31, 2025 | 4.12% (0.04124) | 88.12th | v4 (v2025.03.14) |
| Oct 4, 2025 | 6.15% (0.06150) | 90.43th | v4 (v2025.03.14) |
| Oct 1, 2025 | 2.00% (0.01997) | 83.05th | v4 (v2025.03.14) |
| Sep 4, 2025 | 6.66% (0.06656) | 90.86th | v4 (v2025.03.14) |
| Sep 1, 2025 | 2.17% (0.02172) | 83.75th | v4 (v2025.03.14) |
| Aug 20, 2025 | 6.15% (0.06150) | 90.44th | v4 (v2025.03.14) |
| Aug 4, 2025 | 4.59% (0.04593) | 88.82th | v4 (v2025.03.14) |
| Aug 1, 2025 | 1.44% (0.01445) | 80.01th | v4 (v2025.03.14) |
| Jul 4, 2025 | 4.59% (0.04593) | 88.76th | v4 (v2025.03.14) |
| Jul 1, 2025 | 1.44% (0.01445) | 79.88th | v4 (v2025.03.14) |
| Jun 19, 2025 | 4.98% (0.04979) | 89.18th | v4 (v2025.03.14) |
| Jun 4, 2025 | 7.74% (0.07744) | 91.46th | v4 (v2025.03.14) |
| Jun 1, 2025 | 1.53% (0.01526) | 80.43th | v4 (v2025.03.14) |
| May 30, 2025 | 7.74% (0.07744) | 91.45th | v4 (v2025.03.14) |
| May 5, 2025 | 5.54% (0.05542) | 89.70th | v4 (v2025.03.14) |
| May 1, 2025 | 0.90% (0.00897) | 74.47th | v4 (v2025.03.14) |
| Apr 27, 2025 | 5.54% (0.05542) | 89.70th | v4 (v2025.03.14) |
| Apr 25, 2025 | 0.90% (0.00897) | 74.36th | v4 (v2025.03.14) |
| Apr 24, 2025 | 5.54% (0.05542) | 89.71th | v4 (v2025.03.14) |
| Apr 22, 2025 | 0.90% (0.00897) | 74.35th | v4 (v2025.03.14) |
| Apr 18, 2025 | 5.54% (0.05542) | 89.72th | v4 (v2025.03.14) |
| Apr 17, 2025 | 0.90% (0.00897) | 74.37th | v4 (v2025.03.14) |
| Apr 12, 2025 | 5.54% (0.05542) | 89.37th | v4 (v2025.03.14) |
| Apr 11, 2025 | 7.74% (0.07744) | 91.17th | v4 (v2025.03.14) |
| Apr 10, 2025 | 1.53% (0.01526) | 79.68th | v4 (v2025.03.14) |
| Apr 8, 2025 | 5.54% (0.05542) | 89.35th | v4 (v2025.03.14) |
| Apr 7, 2025 | 0.90% (0.00897) | 73.61th | v4 (v2025.03.14) |
| Apr 4, 2025 | 5.54% (0.05542) | 89.34th | v4 (v2025.03.14) |
| Apr 2, 2025 | 0.90% (0.00897) | 73.61th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.54% (0.05542) | 89.30th | v4 (v2025.03.14) |
| Mar 29, 2025 | 8.40% (0.08397) | 86.93th | v4 (v2025.03.14) |
| Mar 28, 2025 | 0.90% (0.00897) | 73.52th | v4 (v2025.03.14) |
| Mar 23, 2025 | 5.54% (0.05542) | 88.49th | v4 (v2025.03.14) |
| Mar 22, 2025 | 0.90% (0.00897) | 73.60th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.54% (0.05542) | 89.56th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.55% (0.00548) | 78.23th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.55% (0.00548) | 76.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.55% (0.00548) | 73.94th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | 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 | v1 |
| Jan 6, 2022 | 2.27% (0.02273) | 50.38th | v1 |
| Sep 1, 2021 | 2.27% (0.02273) | 77.89th | v1 |
| 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/98460 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-7486 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1448089 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-7486
- https://security.gentoo.org/glsa/201710-06 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-7486
- https://www.postgresql.org/about/news/1746/ x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.