CVE-2016-5424

Public on 2016-09-15
Modified on 2016-09-15
Description
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
7.6
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 postgresql92 2016-09-15 ALAS-2016-747 Fixed
Amazon Linux 1 postgresql93 2016-09-15 ALAS-2016-747 Fixed
Amazon Linux 1 postgresql94 2016-09-15 ALAS-2016-747 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv2 6.0 AV:N/AC:M/Au:S/C:P/I:P/A:P
Amazon Linux CVSSv3 7.6 CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
NVD CVSSv2 4.6 AV:N/AC:H/Au:S/C:P/I:P/A:P
NVD CVSSv3 7.1 CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H