From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: abcxiaod@126.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16682: The pg_user_mapping table saves the plaintext password
Date: Fri, 23 Oct 2020 12:22:42 +0900
Message-ID: <20201023032242.GC5180@paquier.xyz> (raw)
In-Reply-To: <78BCA442-5AFB-40E4-B280-69D8EAF234EE@yesql.se>
References: <16682-89078b97ed03d74b@postgresql.org>
<78BCA442-5AFB-40E4-B280-69D8EAF234EE@yesql.se>
On Thu, Oct 22, 2020 at 10:16:46AM +0200, Daniel Gustafsson wrote:
> > On 22 Oct 2020, at 09:14, PG Bug reporting form <noreply@postgresql.org> wrote:
>
> > Whether the plaintext password in this system table system view has security
> > risks, is it considered a security vulnerability?
>
> This is as intended, and documented on the pg_user_mapping catalog
> description and the pg_user_mappings view:
>
> https://www.postgresql.org/docs/12/catalog-pg-user-mapping.html
> https://www.postgresql.org/docs/12/view-pg-user-mappings.html
>
> The umoptions field is not visible to restricted users.
If you care about such things, there are more options on the table
like pgpass files or certificate-based authentication methods just to
name two of these. Much more options are supported.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-bugs@postgresql.org
Cc: michael@paquier.xyz, daniel@yesql.se, abcxiaod@126.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16682: The pg_user_mapping table saves the plaintext password
In-Reply-To: <20201023032242.GC5180@paquier.xyz>
* 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