CVEfocus › CVE database › CVE-2016-5424

CVE-2016-5424

CVSS 8.5 HighEPSS 4.6% (higher than 92% of CVEs)Published 2016-12-09Updated 2024-08-06Assigner: redhat

PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.

What to do

Fixed builds are available from 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

14Fixed
12Will 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.4-0ubuntu0.16.04UBUNTU-CVE-2016-5424
Ubuntu 14.04postgresql-9.1Fixed9.1.23-0ubuntu0.14.04UBUNTU-CVE-2016-5424
Ubuntu 14.04postgresql-9.3Fixed9.3.14-0ubuntu0.14.04UBUNTU-CVE-2016-5424
Red Hat Enterprise Linux 7postgresqlFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-contribFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-develFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-docsFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-libsFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-plperlFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-plpythonFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-pltclFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-serverFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-testFixed0:9.2.18-1.el7RHSA-2016:2606
Red Hat Enterprise Linux 7postgresql-upgradeFixed0:9.2.18-1.el7RHSA-2016:2606
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 5postgresqlWill not fix
Will not fix
Red Hat Enterprise Linux 5postgresql84Will not fix
Will not fix

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.