pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Feike Steenbergen <feikesteenbergen@gmail.com>
Cc: andrew.wheelwright@familysearch.org, PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14600: Passwords in user mappings leaked by psql \deu+ command
Date: Sat, 8 Apr 2017 19:34:07 +0000
Message-ID: <20170408193407.GA2814157@tornado.leadboat.com> (raw)
In-Reply-To: <CAK_s-G0gCFL_0NDwdHWBzbp81=4hrzDUoB=a0-BQJ-4m-z3pVA@mail.gmail.com>
References: <20170328053814.2690.5600@wrigleys.postgresql.org>
	<CAK_s-G0gCFL_0NDwdHWBzbp81=4hrzDUoB=a0-BQJ-4m-z3pVA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Wed, Mar 29, 2017 at 04:54:03PM +0200, Feike Steenbergen wrote:
> > If a standard user logs into Alice using command line client, psql, and
> runs
> > the command \deu+, the password for both the standard_user and the
> > power_user will be visible in the displayed user mapping.
> 
> \deu+ queries pg_catalog.pg_user_mappings, which itself is a view on top of
> pg_user_mapping.

Thanks for the report; the next back-branch releases will contain a fix.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)

Message-ID: <20170408193407.GA2814157@tornado.leadboat.com>
Permalink:  ../20170408193407.GA2814157@tornado.leadboat.com/
Also on:    postgresql.org/message-id/20170408193407.GA2814157@tornado.leadboat.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noah@leadboat.com, feikesteenbergen@gmail.com
  Subject: Re: BUG #14600: Passwords in user mappings leaked by psql \deu+ command
  In-Reply-To: <20170408193407.GA2814157@tornado.leadboat.com>
  References: <20170328053814.2690.5600@wrigleys.postgresql.org> <CAK_s-G0gCFL_0NDwdHWBzbp81=4hrzDUoB=a0-BQJ-4m-z3pVA@mail.gmail.com> <20170408193407.GA2814157@tornado.leadboat.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