pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Marc Cousin <cousinmarc@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: cannot restore schema with is not distinct from on hstore since PG 9.6.8
Date: Fri, 13 Jul 2018 17:23:40 -0400
Message-ID: <13033.1531517020@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwYAY3hV9yE3D9SiaSfM9JJBu9DFOh0y3C6ZKE1s2OSY8w@mail.gmail.com>
References: <ffefc172-a487-aa87-a0e7-472bf29735c8@gmail.com>
	<15487.1531150466@sss.pgh.pa.us>
	<e89644f6-5472-1713-68d3-84da792d5821@2ndQuadrant.com>
	<10492.1531515255@sss.pgh.pa.us>
	<CAKFQuwYAY3hV9yE3D9SiaSfM9JJBu9DFOh0y3C6ZKE1s2OSY8w@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> I think serious consideration needs to be given to ways to allow the user
> of pg_dump/pg_restore to choose the prior, less secure, mode of operation​.
> IMO the risk surface presented to support back-patching the behavioral
> changes was not severe enough to do so in the first place.  I'm presuming
> undoing the back-patch will be shot down without mercy but at least
> consider an escape hatch for unafflicted secure systems that just happen to
> depend on search_path more than a super-hardened system would.

FWIW, in the security team's discussions of CVE-2018-1058, I argued
strenuously in favor of providing a way to run pg_dump/pg_restore with
the system's default search_path as before.  I lost the argument;
but maybe the need for features like this shows that we are not really
ready to insist on unconditional security there.

			regards, tom lane




view thread (7+ messages)  latest in thread

Message-ID: <13033.1531517020@sss.pgh.pa.us>
Permalink:  ../13033.1531517020@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13033.1531517020@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, andrew.dunstan@2ndquadrant.com, cousinmarc@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: cannot restore schema with is not distinct from on hstore since PG 9.6.8
  In-Reply-To: <13033.1531517020@sss.pgh.pa.us>
  References: <ffefc172-a487-aa87-a0e7-472bf29735c8@gmail.com> <15487.1531150466@sss.pgh.pa.us> <e89644f6-5472-1713-68d3-84da792d5821@2ndQuadrant.com> <10492.1531515255@sss.pgh.pa.us> <CAKFQuwYAY3hV9yE3D9SiaSfM9JJBu9DFOh0y3C6ZKE1s2OSY8w@mail.gmail.com> <13033.1531517020@sss.pgh.pa.us>

* 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