CVE-2016-5424

Impact:
Moderate
Public Date:
2016-08-11
IAVA:
2016-B-0129
CWE:
CWE-20
Bugzilla:
1364002: CVE-2016-5424 postgresql: privilege escalation via crafted database and role names
A flaw was found in the way PostgreSQL client programs handled database and role names containing newlines, carriage returns, double quotes, or backslashes. By crafting such an object name, roles with the CREATEDB or CREATEROLE option could escalate their privileges to superuser when a superuser next executes maintenance with a vulnerable client program.

Find out more about CVE-2016-5424 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 6
Base Metrics AV:N/AC:M/Au:S/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

CVSS v3 metrics

CVSS3 Base Score 7.6
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required High
User Interaction Required
Scope Changed
Confidentiality High
Integrity Impact High
Availability Impact High

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-postgresql94-postgresql) RHSA-2016:1781 2016-08-31
Red Hat Software Collections for Red Hat Enterprise Linux 6 (postgresql92-postgresql) RHSA-2016:1820 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-postgresql95-postgresql) RHSA-2016:1821 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql95-postgresql) RHSA-2016:1821 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (postgresql92-postgresql) RHSA-2016:1820 2016-09-07
Red Hat Satellite Managed DB 5.7 (RHEL v.6) (rh-postgresql95-postgresql) RHSA-2017:2425 2017-08-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql94-postgresql) RHSA-2016:1781 2016-08-31
Red Hat Enterprise Linux 7 (postgresql) RHSA-2016:2606 2016-11-03
Red Hat Satellite 5.7 (RHEL v.6) (rh-postgresql95-postgresql) RHSA-2017:2425 2017-08-07

Affected Packages State

Platform Package State
Red Hat Satellite 5.7 postgresql92-postgresql Affected
Red Hat Enterprise Linux 6 postgresql Will not fix
Red Hat Enterprise Linux 5 postgresql84 Will not fix
Red Hat Enterprise Linux 5 postgresql Will not fix

Acknowledgements

Red Hat would like to thank the PostgreSQL project for reporting this issue. Upstream acknowledges Nathan Bossart as the original reporter.

Last Modified
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.