Re: debugger from superuser only.... why?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: debugger from superuser only.... why?
Дата
Msg-id 598114.1695822729@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: debugger from superuser only.... why?  (Alexander Petrossian <alexander.petrossian@gmail.com>)
Список pgsql-general
Alexander Petrossian <alexander.petrossian@gmail.com> writes:
> 25 сент. 2023 г., в 17:28, Tom Lane <tgl@sss.pgh.pa.us> написал(а):
>> you’d have a big problem with being able to change the behavior of
>> security-definer functions.

> Could you please elaborate on this, Tom?

pldebugger allows you to change the contents of a function's
local variables.  Obviously the threat level would depend a lot
on the details of the particular function, but it's not hard
to envision cases where that would be enough to make the function
do something other than what it was supposed to.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: Alexander Petrossian
Дата:
Сообщение: Re: debugger from superuser only.... why?
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: valid casts to anyarray