Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cww8R-0008W0-Po for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Apr 2017 19:35:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cww8R-0008Sk-AB for pgsql-bugs@arkaria.postgresql.org; Sat, 08 Apr 2017 19:34:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cww7k-0007Fu-KO for pgsql-bugs@postgresql.org; Sat, 08 Apr 2017 19:34:16 +0000 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cww7h-0005VM-8S for pgsql-bugs@postgresql.org; Sat, 08 Apr 2017 19:34:16 +0000 Received: by mail-pf0-x230.google.com with SMTP id s16so17428763pfs.0 for ; Sat, 08 Apr 2017 12:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3HF/gEP+khuCz5hwrLcbfPnz9LQK2wVpMHLkP2cS6lU=; b=JpPgXo8QYCKOqfAujhrorbxvBy5JRuqiXPhdHYDe/Id89Ra9ruoGpXrp1H3PtTtWdG n3PsesbHbpS7RdF0as3xwZ4yUgsutTToKrsEMelSOyrwNzsP1mBUCc2tbhDZOL93mbsQ +DnD07irn1Rfox/OKEmbzX1AdYj8OMC/3YebA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3HF/gEP+khuCz5hwrLcbfPnz9LQK2wVpMHLkP2cS6lU=; b=gP94Nu2kD8wJD+joj1Qos8LDYnVxG9O3u1NQVvJ9D9hpfUTKAuKEMt4az2n0It3jgp FWK8wiwUiR5JUUPsEYSUGoFetSaVM7Ts5bpVZJdAbpmeOv5riaAGXqBcxW/+JEIbafb5 9BgM83OqgUsJnKUAX3Y6qi3Xa6Zk0oscUp5IgNLfZ5V4hLZKMz3IeJAa4k3/vASSyi3g q6p40L32uESHoStkJpEAE4ZuRz2WJsZLQYi9+iHKCP9qRuv7MwpeCPCgNOzpC4uLCOUq X0ZpclKWbCaM0v/Fm8900uRc+e24QmsAN98Pcjk74t3vMTaWuh8DzqkpMyP+ZPRduoTV k8Iw== X-Gm-Message-State: AFeK/H19zwxp4TVgvmdPJabnJzeJ60qFgyYctq8gk23rfsWqEkQMJzjl0/z7nd54MvoQfA== X-Received: by 10.99.55.7 with SMTP id e7mr48757148pga.175.1491680050648; Sat, 08 Apr 2017 12:34:10 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id u64sm16303951pfk.113.2017.04.08.12.34.08 (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 08 Apr 2017 12:34:09 -0700 (PDT) Date: Sat, 8 Apr 2017 19:34:07 +0000 From: Noah Misch To: Feike Steenbergen Cc: andrew.wheelwright@familysearch.org, PostgreSQL mailing lists Subject: Re: BUG #14600: Passwords in user mappings leaked by psql \deu+ command Message-ID: <20170408193407.GA2814157@tornado.leadboat.com> References: <20170328053814.2690.5600@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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