aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execGrouping.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-02-10 11:47:09 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-02-10 11:47:09 -0300
commitb048f558dd7c26a0c630a2cff29d3d8981eaf6b9 (patch)
tree3d3d31bc4512c4562dc2abd8d86d771a5007614f /src/backend/executor/execGrouping.c
parent4e818866e57aa9ec13821fd36a2ff60e00e6dea6 (diff)
downloadpostgresql-b048f558dd7c26a0c630a2cff29d3d8981eaf6b9.tar.gz
postgresql-b048f558dd7c26a0c630a2cff29d3d8981eaf6b9.zip
Fix priv checks for ALTER <object> DEPENDS ON EXTENSION
Marking an object as dependant on an extension did not have any privilege check whatsoever; this allowed any user to mark objects as droppable by anyone able to DROP EXTENSION, which could be used to cause system-wide havoc. Disallow by checking that the calling user owns the mentioned object. (No constraints are placed on the extension.) Security: CVE-2020-1720 Reported-by: Tom Lane Discussion: 31605.1566429043@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/execGrouping.c')
0 files changed, 0 insertions, 0 deletions