Endpoint Vulnerability

PostgreSQL: selectivity estimators bypass SELECT privilege checks

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.

Affected Products

PostgreSQL

References

CVE-2017-7484,