CVEfocus › CVE database › CVE-2017-7486

CVE-2017-7486

CVSS 7.5 HighEPSS 6.3% (higher than 94% of CVEs)Published 2017-05-12Updated 2024-08-05Assigner: redhat

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.

CWE-522

What to do

Fixed builds are available from Alpine, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
11Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04postgresql-9.5Fixed9.5.7-0ubuntu0.16.04UBUNTU-CVE-2017-7486
Ubuntu 14.04postgresql-9.1Not affected
vulnerable_code_not_present
Ubuntu 14.04postgresql-9.3Fixed9.3.17-0ubuntu0.14.04UBUNTU-CVE-2017-7486
Red Hat Enterprise Linux 7postgresqlFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-contribFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-develFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-docsFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-libsFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-plperlFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-plpythonFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-pltclFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-serverFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-staticFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-testFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 7postgresql-upgradeFixed0:9.2.21-1.el7RHSA-2017:1983
Red Hat Enterprise Linux 6postgresqlWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-contribWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-develWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-docsWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-plperlWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-plpythonWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-pltclWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-serverWill not fix
Will not fix
Red Hat Enterprise Linux 6postgresql-testWill not fix
Will not fix
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 5postgresql84Will not fix
Will not fix
Alpine Linux 3.20postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.20postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.19postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.19postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.18postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.18postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.17postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.17postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.16postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.15postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.14postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.13postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.12postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.11postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.10postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.9postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.8postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.7postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.6postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.5postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7486
Alpine Linux 3.4postgresqlFixed9.5.7-r0ALPINE-CVE-2017-7486
Alpine Linux 3.3postgresqlFixed9.4.12-r0ALPINE-CVE-2017-7486

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.