From: Ravi Krishna <ravikrishna@mail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Karsten Hilbert <Karsten.Hilbert@gmx.net>
Cc: PG <pgsql-general@lists.postgresql.org>
Subject: Re: Row data is reflected in DETAIL message when constraints fail on insert/update
Date: Thu, 20 Jun 2019 12:42:16 -0400
Message-ID: <9B4574FD-05FA-40CE-A5DB-3820B4E73C75@mail.com> (raw)
In-Reply-To: <7057.1561040804@sss.pgh.pa.us>
References: <CAO8wz8QdKRTJUnW--AZ2N-BvJAemS+P9=Sr7zUbkO+wmAmA7LQ@mail.gmail.com>
<b2afcfd3-a2c2-9bdc-3e62-a28392f0b8f6@aklaver.com>
<CADT4RqDYLKWxxHejU2ZE6Wmveo8x09Zf8aw4pdT-=0uU82Us=Q@mail.gmail.com>
<20190620114527.GD30366@hermes.hilbert.loc>
<7057.1561040804@sss.pgh.pa.us>
> More generally: I find this complaint a little confusing. We did not
> consider reporting the "show row contents" DETAIL to the client to be a
> security hazard when it was added, because one would think that that's
> just data that the client already knows anyway. I'd be interested to see
> a plausible use-case in which the message would reflect PII that had not
> been supplied by or available to the client.
I had the same issue in pgaudit which was spilling PHI data in PG logs which we
were feeding to sumologic. I had to write a python masking program to strip out
literal values from the PG log.
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-general@postgresql.org
Cc: ravikrishna@mail.com, tgl@sss.pgh.pa.us, Karsten.Hilbert@gmx.net
Subject: Re: Row data is reflected in DETAIL message when constraints fail on insert/update
In-Reply-To: <9B4574FD-05FA-40CE-A5DB-3820B4E73C75@mail.com>
References: <CAO8wz8QdKRTJUnW--AZ2N-BvJAemS+P9=Sr7zUbkO+wmAmA7LQ@mail.gmail.com> <b2afcfd3-a2c2-9bdc-3e62-a28392f0b8f6@aklaver.com> <CADT4RqDYLKWxxHejU2ZE6Wmveo8x09Zf8aw4pdT-=0uU82Us=Q@mail.gmail.com> <20190620114527.GD30366@hermes.hilbert.loc> <7057.1561040804@sss.pgh.pa.us> <9B4574FD-05FA-40CE-A5DB-3820B4E73C75@mail.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