postgresql: pg_user_mappings view discloses passwords to users lacking server privileges
Published Aug 16, 2017
8.8
HIGHCVSS 3.0
EPSS 5.58%
Description
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to authorization flaw allowing remote authenticated attackers to retrieve passwords from the user mappings defined by the foreign server owners without actually having the privileges to do so.
Affected products
-
- Version 9.2.x before 9.2.22StatusaffectedConstraints-
- Version 9.3.x before 9.3.18StatusaffectedConstraints-
- Version 9.4.x before 9.4.13StatusaffectedConstraints-
- Version 9.5.x before 9.5.8StatusaffectedConstraints-
- Version 9.6.x before 9.6.4StatusaffectedConstraints-
- 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 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PostgreSQL | PostgreSQL | n/a |
|
Configuration 1
- 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
Configuration 2
- 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
Configuration 3
- 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
Configuration 4
- 9.5
- 9.5.1.
- 9.5.2
- 9.5.3
- 9.5.4
- 9.5.5
- 9.5.6
- 9.5.7
Configuration 5
- 9.6
- 9.6.1
- 9.6.2
- 9.6.3
No data.
Red Hat Enterprise Linux 7
postgresql-0:9.2.23-1.el7_4
Fixed · RHSA-2017:2728
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql94-postgresql-0:9.4.14-1.el6
Fixed · RHSA-2017:2678
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql95-postgresql-0:9.5.9-1.el6
Fixed · RHSA-2017:2677
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql94-postgresql-0:9.4.14-1.el6
Fixed · RHSA-2017:2678
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql95-postgresql-0:9.5.9-1.el6
Fixed · RHSA-2017:2677
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql94-postgresql-0:9.4.14-1.el7
Fixed · RHSA-2017:2678
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql95-postgresql-0:9.5.9-1.el7
Fixed · RHSA-2017:2677
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql94-postgresql-0:9.4.14-1.el7
Fixed · RHSA-2017:2678
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql95-postgresql-0:9.5.9-1.el7
Fixed · RHSA-2017:2677
CloudForms Management Engine 5
rh-postgresql94-postgresql
Not affected
CloudForms Management Engine 5
rh-postgresql95-postgresql
Not affected
Red Hat Enterprise Linux 5
postgresql
Not affected
Red Hat Enterprise Linux 5
postgresql84
Not affected
Red Hat Enterprise Linux 6
postgresql
Not affected
Red Hat Satellite 5
postgresql92-postgresql
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | postgresql-0:9.2.23-1.el7_4 | Fixed | RHSA-2017:2728 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql94-postgresql-0:9.4.14-1.el6 | Fixed | RHSA-2017:2678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql95-postgresql-0:9.5.9-1.el6 | Fixed | RHSA-2017:2677 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql94-postgresql-0:9.4.14-1.el6 | Fixed | RHSA-2017:2678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql95-postgresql-0:9.5.9-1.el6 | Fixed | RHSA-2017:2677 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql94-postgresql-0:9.4.14-1.el7 | Fixed | RHSA-2017:2678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql95-postgresql-0:9.5.9-1.el7 | Fixed | RHSA-2017:2677 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql94-postgresql-0:9.4.14-1.el7 | Fixed | RHSA-2017:2678 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql95-postgresql-0:9.5.9-1.el7 | Fixed | RHSA-2017:2677 |
| CloudForms Management Engine 5 | rh-postgresql94-postgresql | Not affected | n/a |
| CloudForms Management Engine 5 | rh-postgresql95-postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Not affected | n/a |
| Red Hat Satellite 5 | postgresql92-postgresql | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Satellite 5 are is in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
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:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:S/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 (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.58% (0.05581) | 92.64th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.58% (0.05581) | 91.86th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.93% (0.00931) | 75.38th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.14% (0.02142) | 82.83th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.58% (0.00577) | 66.90th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.51% (0.00513) | 77.42th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.51% (0.00513) | 75.95th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.51% (0.00513) | 73.02th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.65% (0.01649) | 75.99th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.65% (0.01649) | 75.95th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.65% (0.01649) | 73.90th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.65% (0.01649) | 52.77th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.59% (0.02590) | 55.26th | v1 |
| Jan 6, 2022 | 2.59% (0.02590) | 54.82th | v1 |
| Sep 1, 2021 | 2.59% (0.02590) | 79.14th | v1 |
| Apr 14, 2021 | 2.59% (0.02590) | 0.00th | v1 |
References (13)
- http://www.debian.org/security/2017/dsa-3935 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2017/dsa-3936 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/100275 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039142 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:2677 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2678 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2728 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-7547 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1477185 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-7547
- https://security.gentoo.org/glsa/201710-06 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-7547
- https://www.postgresql.org/about/news/1772/ x_refsource_CONFIRMMitigationVendor Advisory
Change history (0)
No recorded changes yet.