From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Set GUC "is_superuser" in all processes that set AuthenticatedUs
Date: Mon, 06 Nov 2023 14:17:12 +0000
Message-ID: <E1r00Pg-004Bb9-0M@gemulon.postgresql.org> (raw)
Set GUC "is_superuser" in all processes that set AuthenticatedUserId.
It was always false in single-user mode, in autovacuum workers, and in
background workers. This had no specifically-identified security
consequences, but non-core code or future work might make it
security-relevant. Back-patch to v11 (all supported versions).
Jelte Fennema-Nio. Reported by Jelte Fennema-Nio.
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/7bbf4d03726200a8e42b48cac0b2a87abb7fb5fe
Modified Files
--------------
src/backend/utils/init/miscinit.c | 8 ++++++++
1 file changed, 8 insertions(+)
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-committers@postgresql.org
Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Set GUC "is_superuser" in all processes that set AuthenticatedUs
In-Reply-To: <E1r00Pg-004Bb9-0M@gemulon.postgresql.org>
* 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