Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1364002 - (CVE-2016-5424) CVE-2016-5424 postgresql: privilege escalation via crafted database and role names
CVE-2016-5424 postgresql: privilege escalation via crafted database and role ...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160811,repor...
: Security
Depends On: 1366346 1367640 1367704 1367705 1367707 1367708 1367709 1367710
Blocks: 1323912 1364007
  Show dependency treegraph
 
Reported: 2016-08-04 05:10 EDT by Martin Prpič
Modified: 2018-06-29 18:13 EDT (History)
20 users (show)

See Also:
Fixed In Version: postgresql 9.5.4, postgresql 9.4.9, postgresql 9.3.14, postgresql 9.2.18, postgresql 9.1.23
Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1781 normal SHIPPED_LIVE Moderate: rh-postgresql94-postgresql security update 2016-09-06 12:57:36 EDT
Red Hat Product Errata RHSA-2016:1820 normal SHIPPED_LIVE Moderate: postgresql92-postgresql security update 2016-09-07 10:11:36 EDT
Red Hat Product Errata RHSA-2016:1821 normal SHIPPED_LIVE Moderate: rh-postgresql95-postgresql security update 2016-09-07 09:53:27 EDT
Red Hat Product Errata RHSA-2016:2606 normal SHIPPED_LIVE Moderate: postgresql security and bug fix update 2016-11-03 08:13:40 EDT
Red Hat Product Errata RHSA-2017:2425 normal SHIPPED_LIVE Moderate: rh-postgresql95-postgresql security update 2017-08-07 16:11:22 EDT

  None (edit)
Description Martin Prpič 2016-08-04 05:10:29 EDT
It was found that PostgreSQL client programs mishandle 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 program. Vulnerable programs include pg_dumpall, pg_upgrade, vacuumdb, reindexdb, and clusterdb.
Comment 1 Martin Prpič 2016-08-04 05:10:47 EDT
Acknowledgments:

Name: the PostgreSQL project
Upstream: Nathan Bossart
Comment 2 Martin Prpič 2016-08-11 13:25:48 EDT
Public via:

https://www.postgresql.org/about/news/1688/
Comment 3 Martin Prpič 2016-08-11 13:33:23 EDT
Created postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1366346]
Comment 14 Fedora Update System 2016-08-23 08:49:33 EDT
postgresql-9.5.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 15 Fedora Update System 2016-08-23 11:22:36 EDT
postgresql-9.4.9-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 16 Fedora Update System 2016-08-27 06:38:01 EDT
postgresql-9.5.4-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
Comment 17 errata-xmlrpc 2016-08-31 01:48:34 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS

Via RHSA-2016:1781 https://rhn.redhat.com/errata/RHSA-2016-1781.html
Comment 18 errata-xmlrpc 2016-09-07 05:54:58 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS

Via RHSA-2016:1821 https://rhn.redhat.com/errata/RHSA-2016-1821.html
Comment 19 errata-xmlrpc 2016-09-07 06:13:07 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS

Via RHSA-2016:1820 https://rhn.redhat.com/errata/RHSA-2016-1820.html
Comment 21 errata-xmlrpc 2016-11-03 17:28:23 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2606 https://rhn.redhat.com/errata/RHSA-2016-2606.html
Comment 23 errata-xmlrpc 2017-08-07 12:12:39 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 5.7

Via RHSA-2017:2425 https://access.redhat.com/errata/RHSA-2017:2425

Note You need to log in before you can comment on or make changes to this bug.