pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: pgsql-hackers@lists.postgresql.org
Subject: Re: Wrong security context for deferred triggers?
Date: Mon, 6 Nov 2023 18:29:39 +0100
Message-ID: <dede297a-3d24-7029-dfd9-06aeef8b9766@enterprisedb.com> (raw)
In-Reply-To: <77ee784cf248e842f74588418f55c2931e47bd78.camel@cybertec.at>
References: <77ee784cf248e842f74588418f55c2931e47bd78.camel@cybertec.at>

On 11/6/23 14:23, Laurenz Albe wrote:
> ...
> 
> This behavior looks buggy to me.  What do you think?
> I cannot imagine that it is a security problem, though.
> 

How could code getting executed under the wrong role not be a security
issue? Also, does this affect just the role, or are there some other
settings that may unexpectedly change (e.g. search_path)?


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company





view thread (44+ messages)  latest in thread

Message-ID: <dede297a-3d24-7029-dfd9-06aeef8b9766@enterprisedb.com>
Permalink:  ../dede297a-3d24-7029-dfd9-06aeef8b9766@enterprisedb.com/
Also on:    postgresql.org/message-id/dede297a-3d24-7029-dfd9-06aeef8b9766@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tomas.vondra@enterprisedb.com, laurenz.albe@cybertec.at, pgsql-hackers@lists.postgresql.org
  Subject: Re: Wrong security context for deferred triggers?
  In-Reply-To: <dede297a-3d24-7029-dfd9-06aeef8b9766@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox