CVEfocus › CVE database › CVE-2017-7546

CVE-2017-7546

CVSS 9.8 CriticalEPSS 61.6% (in the top 1% of all CVEs)Published 2017-08-16Updated 2024-09-16Assigner: redhat

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers to gain access to database accounts with an empty password.

CWE-287

What to do

Likely to be exploited: EPSS gives a 62% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

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

Ubuntu has not shipped a fix for every release yet.

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

46Fixed
1Fix pending
2Will not fix

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.8-0ubuntu0.16.04.1UBUNTU-CVE-2017-7546
Ubuntu 14.04postgresql-9.1Fix pending
Ubuntu 14.04postgresql-9.3Fixed9.3.18-0ubuntu0.14.04.1UBUNTU-CVE-2017-7546
Red Hat Enterprise Linux 7postgresqlFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-contribFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-develFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-docsFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-libsFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-plperlFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-plpythonFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-pltclFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-serverFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-staticFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-testFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 7postgresql-upgradeFixed0:9.2.23-1.el7_4RHSA-2017:2728
Red Hat Enterprise Linux 6postgresqlFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-contribFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-develFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-docsFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-libsFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-plperlFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-plpythonFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-pltclFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-serverFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 6postgresql-testFixed0:8.4.20-8.el6_9RHSA-2017:2860
Red Hat Enterprise Linux 5postgresqlWill not fix
Will not fix
Red Hat Enterprise Linux 5postgresql84Will not fix
Will not fix
Alpine Linux 3.20postgresql14Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.20postgresql15Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.19postgresql14Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.19postgresql15Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.18postgresql14Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.18postgresql15Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.17postgresql14Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.17postgresql15Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.16postgresql14Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.15postgresql14Fixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.14postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.13postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.12postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.11postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.10postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.9postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.8postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.7postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.6postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.5postgresqlFixed9.6.4-r0ALPINE-CVE-2017-7546
Alpine Linux 3.4postgresqlFixed9.5.8-r0ALPINE-CVE-2017-7546
Alpine Linux 3.3postgresqlFixed9.4.13-r0ALPINE-CVE-2017-7546

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.