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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 1 | postgresql92 | 2016-09-15 19:00 | ALAS-2016-747 |
Amazon Linux 1 | postgresql93 | 2016-09-15 19:00 | ALAS-2016-747 |
Amazon Linux 1 | postgresql94 | 2016-09-15 19:00 | ALAS-2016-747 |
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 |