cve.bz

CVE-2017-7486 postgresql postgresql: Insufficiently Protected Credentials

7.5 highEPSS 6.3%

High (7.5) in postgresql postgresql. EPSS 6.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
6.3% (unchanged from 6.3% a week ago; 6.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
CWE-522 Insufficiently Protected Credentials
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-7486 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-7486?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-7486?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-7486 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresql8.4
postgresql:postgresql8.4.1
postgresql:postgresql8.4.2
postgresql:postgresql8.4.3
postgresql:postgresql8.4.4
postgresql:postgresql8.4.5
postgresql:postgresql8.4.6
postgresql:postgresql8.4.7
postgresql:postgresql8.4.8
postgresql:postgresql8.4.9
postgresql:postgresql8.4.10
postgresql:postgresql8.4.11
postgresql:postgresql8.4.12
postgresql:postgresql8.4.13
postgresql:postgresql8.4.14
postgresql:postgresql8.4.15
postgresql:postgresql8.4.16
postgresql:postgresql8.4.17
postgresql:postgresql8.4.18
postgresql:postgresql8.4.19
postgresql:postgresql8.4.20
postgresql:postgresql8.4.21
postgresql:postgresql8.4.22
postgresql:postgresql9.0
postgresql:postgresql9.0.1
postgresql:postgresql9.0.2
postgresql:postgresql9.0.3
postgresql:postgresql9.0.4
postgresql:postgresql9.0.5
postgresql:postgresql9.0.6
postgresql:postgresql9.0.7
postgresql:postgresql9.0.8
postgresql:postgresql9.0.9
postgresql:postgresql9.0.10
postgresql:postgresql9.0.11
postgresql:postgresql9.0.12
postgresql:postgresql9.0.13
postgresql:postgresql9.0.14
postgresql:postgresql9.0.15
postgresql:postgresql9.0.16
postgresql:postgresql9.0.17
postgresql:postgresql9.0.18
postgresql:postgresql9.0.19
postgresql:postgresql9.0.20
postgresql:postgresql9.0.21
postgresql:postgresql9.0.22
postgresql:postgresql9.0.23
postgresql:postgresql9.1
postgresql:postgresql9.1.1
postgresql:postgresql9.1.2
postgresql:postgresql9.1.3
postgresql:postgresql9.1.4
postgresql:postgresql9.1.5
postgresql:postgresql9.1.6
postgresql:postgresql9.1.7
postgresql:postgresql9.1.8
postgresql:postgresql9.1.9
postgresql:postgresql9.1.10
postgresql:postgresql9.1.11
postgresql:postgresql9.1.12
postgresql:postgresql9.1.13
postgresql:postgresql9.1.14
postgresql:postgresql9.1.15
postgresql:postgresql9.1.16
postgresql:postgresql9.1.17
postgresql:postgresql9.1.18
postgresql:postgresql9.1.19
postgresql:postgresql9.1.20
postgresql:postgresql9.1.21
postgresql:postgresql9.1.22
postgresql:postgresql9.1.23
postgresql:postgresql9.1.24
postgresql:postgresql9.2
postgresql:postgresql9.2.1
postgresql:postgresql9.2.2
postgresql:postgresql9.2.3
postgresql:postgresql9.2.4
postgresql:postgresql9.2.5
postgresql:postgresql9.2.6
postgresql:postgresql9.2.7
postgresql:postgresql9.2.8
postgresql:postgresql9.2.9
postgresql:postgresql9.2.10
postgresql:postgresql9.2.11
postgresql:postgresql9.2.12
postgresql:postgresql9.2.13
postgresql:postgresql9.2.14
postgresql:postgresql9.2.15
postgresql:postgresql9.2.16
postgresql:postgresql9.2.17
postgresql:postgresql9.2.18
postgresql:postgresql9.2.19
postgresql:postgresql9.2.20
postgresql:postgresql9.2.21
postgresql:postgresql9.3
postgresql:postgresql9.3.1
postgresql:postgresql9.3.2
postgresql:postgresql9.3.3
postgresql:postgresql9.3.4
postgresql:postgresql9.3.5
postgresql:postgresql9.3.6
postgresql:postgresql9.3.7
postgresql:postgresql9.3.8
postgresql:postgresql9.3.9
postgresql:postgresql9.3.10
postgresql:postgresql9.3.11
postgresql:postgresql9.3.12
postgresql:postgresql9.3.13
postgresql:postgresql9.3.14
postgresql:postgresql9.3.15
postgresql:postgresql9.3.16
postgresql:postgresql9.3.17
postgresql:postgresql9.4
postgresql:postgresql9.4.1
postgresql:postgresql9.4.2
postgresql:postgresql9.4.3
postgresql:postgresql9.4.4
postgresql:postgresql9.4.5
postgresql:postgresql9.4.6
postgresql:postgresql9.4.7
postgresql:postgresql9.4.8
postgresql:postgresql9.4.9
postgresql:postgresql9.4.10
postgresql:postgresql9.4.11
postgresql:postgresql9.4.12
postgresql:postgresql9.5
postgresql:postgresql9.5.1
postgresql:postgresql9.5.2
postgresql:postgresql9.5.3
postgresql:postgresql9.5.4
postgresql:postgresql9.5.5
postgresql:postgresql9.5.6
postgresql:postgresql9.5.7
postgresql:postgresql9.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7postgresql-9.19.1.24lts2-0+deb7u1DLA-1051-1
Debian8postgresql-9.49.4.12-0+deb8u1DSA-3851-1
Ubuntu14.04:LTSpostgresql-9.39.3.17-0ubuntu0.14.04UBUNTU-CVE-2017-7486
Ubuntu16.04:LTSpostgresql-9.59.5.7-0ubuntu0.16.04UBUNTU-CVE-2017-7486
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepostgresql, postgresql-docs, postgresql-libs and 10 more0:9.2.21-1.el7RHSA-2017:1983
Red Hatnetwork_satellite:5.7::el6spacewalk-backend, spacewalk-backend-app, spacewalk-backend-iss and 14 more0:2.3.3-53.el6satRHSA-2017:2425
Red Hatnetwork_satellite:5.7::el6spacewalk-pxt, spacewalk-web, spacewalk-base and 6 more0:2.3.2-35.el6satRHSA-2017:2425
Red Hatnetwork_satellite:5.7::el6spacewalk-utils0:2.3.2-32.el6satRHSA-2017:2425
Red Hatnetwork_satellite:5.7::el6, network_satellite_managed_db:5.7::el6rh-postgresql95-postgresql, rh-postgresql95-postgresql-libs, rh-postgresql95-postgresql-pltcl and 3 more0:9.5.7-2.el6RHSA-2017:2425
Red Hatnetwork_satellite:5.7::el6, network_satellite_managed_db:5.7::el6rh-postgresql95-runtime0:2.2-3.el6RHSA-2017:2425
Red Hatnetwork_satellite:5.7::el6, network_satellite_managed_db:5.7::el6spacewalk-postgresql-server0:9.5-1.el6satRHSA-2017:2425
Red Hatnetwork_satellite:5.7::el6, network_satellite_managed_db:5.7::el6spacewalk-setup-postgresql0:2.3.0-27.el6satRHSA-2017:2425
Red Hatnetwork_satellite:5.8::el6, network_satellite_managed_db:5.8::el6rh-postgresql95-postgresql, rh-postgresql95-postgresql-libs, rh-postgresql95-postgresql-pltcl and 3 more0:9.5.7-2.el6RHSA-2017:1838
Red Hatnetwork_satellite_managed_db:5.7::el6spacewalk-web, spacewalk-dobby, spacewalk-base-minimal0:2.3.2-35.el6satRHSA-2017:2425
Red Hatrhel_software_collections:2::el6rh-postgresql94-postgresql, rh-postgresql94-postgresql-docs, rh-postgresql94-postgresql-libs and 10 more0:9.4.12-1.el6RHSA-2017:1678
Red Hatrhel_software_collections:2::el6rh-postgresql95-postgresql, rh-postgresql95-postgresql-docs, rh-postgresql95-postgresql-libs and 9 more0:9.5.7-2.el6RHSA-2017:1677
2 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morepostgresql949.4.12-20.1SUSE-SU-2017:1690-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4postgresql94, postgresql94-libs9.4.12-0.22.3SUSE-SU-2017:1783-1
SUSELinux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12postgresql939.3.17-24.2SUSE-SU-2017:1441-1
SUSELinux Enterprise Software Development Kit 11 SP4postgresql94-libs9.4.12-0.22.3SUSE-SU-2017:1783-1
SUSELinux Enterprise Software Development Kit 12 SP2postgresql94-libs9.4.12-20.1SUSE-SU-2017:1690-1
Alpinev3.3postgresql9.4.12-r0ALPINE-CVE-2017-7486
Alpinev3.4postgresql9.5.7-r0ALPINE-CVE-2017-7486
Alpinev3.5, v3.6, v3.7 and 7 morepostgresql9.6.3-r0ALPINE-CVE-2017-7486
Alpinev3.15, v3.16postgresql149.6.3-r0ALPINE-CVE-2017-7486
Alpinev3.17, v3.18, v3.19 and 1 morepostgresql14, postgresql159.6.3-r0ALPINE-CVE-2017-7486

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7postgresql-0:9.2.21-1.el7Fixed 2017-08-01RHSA-2017:1983
Red Hat Satellite 5.7rh-postgresql95-0:2.2-3.el6Fixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.7rh-postgresql95-postgresql-0:9.5.7-2.el6Fixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.7spacewalk-backend-0:2.3.3-53.el6satFixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.7spacewalk-postgresql-server-0:9.5-1.el6satFixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.7spacewalk-setup-postgresql-0:2.3.0-27.el6satFixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.7spacewalk-utils-0:2.3.2-32.el6satFixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.7spacewalk-web-0:2.3.2-35.el6satFixed 2017-08-07RHSA-2017:2425
Red Hat Satellite 5.8rh-postgresql95-postgresql-0:9.5.7-2.el6Fixed 2017-07-31RHSA-2017:1838
Red Hat Satellite 5.8 ELSrh-postgresql95-postgresql-0:9.5.7-2.el6Fixed 2017-07-31RHSA-2017:1838
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-postgresql95-postgresql-0:9.5.7-2.el6Fixed 2017-07-05RHSA-2017:1677
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-postgresql94-postgresql-0:9.4.12-1.el6Fixed 2017-07-05RHSA-2017:1678
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-postgresql95-postgresql-0:9.5.7-2.el6Fixed 2017-07-05RHSA-2017:1677
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-postgresql94-postgresql-0:9.4.12-1.el6Fixed 2017-07-05RHSA-2017:1678
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-postgresql95-postgresql-0:9.5.7-2.el7Fixed 2017-07-05RHSA-2017:1677
CloudForms Management Engine 5rh-postgresql94-postgresqlAffected
CloudForms Management Engine 5rh-postgresql95-postgresqlAffected
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 5postgresql84Will not fix
Red Hat Enterprise Linux 6postgresqlWill not fix
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-7486.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13), CWE-200 (59).

References

Check your stackJSON