pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Schneider <schnjere@amazon.com>
To: Brad Nicholson <bradn@ca.ibm.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Daniel Verite <daniel@manitou-mail.org>
Cc: Jonathan S. Katz <jkatz@postgresql.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: CVE-2019-9193 about COPY FROM/TO PROGRAM
Date: Thu, 4 Apr 2019 12:34:04 -0700
Message-ID: <038270ec-28c8-1082-7fbc-8d5df3cbdbd0@amazon.com> (raw)
In-Reply-To: <OF1C5515C9.AC2B9DD6-ON852583D0.0044DEB2-852583D0.0045202D@notes.na.collabserv.com>
References: <e6251b54-78f4-4ec0-8e22-8c4179f0e817@manitou-mail.org>
	<8059.1553980568@sss.pgh.pa.us>
	<CABUevEz3Rw+Q6K1NjtkNsh6tME4omjm+ywmpwEVLAjctJ+pWYg@mail.gmail.com>
	<6962.1554126913@sss.pgh.pa.us>
	<A2F7EB11-7B4B-452D-8DEA-0DCD88535FE5@postgresql.org>
	<20190402050501.GN16093@paquier.xyz>
	<OF1C5515C9.AC2B9DD6-ON852583D0.0044DEB2-852583D0.0045202D@notes.na.collabserv.com>

On 4/2/19 05:35, Brad Nicholson wrote:
> A blog post would be nice, but it seems to me have something about this
> clearly in the manual would be best, assuming it's not there already.  I
> took a quick look, and couldn't find anything.

For the record, I don't see any warnings at all in the Oracle docs about
this. Maybe I'm remembering wrong, but I think it's exactly the same
situation there - anyone with full administrative privileges can use
DBMS_SCHEDULER to run OS executables. And I don't think there's a way to
configure Oracle to disable this for people logging in over the network
with administrative privileges.

https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_SCHEDULER.html#GUID-F41A577...

I'm all for having clear documentation about the security model in
PostgreSQL, but I personally wouldn't be in favor of adding extra
wording to the docs just to pacify concerns about a CVE which may have
been erroneously granted by an assigning authority, who possibly should
have done better due diligence reviewing the content. Particularly if
there's any possibility that the decision to assign the number can be
appealed/changed, though admittedly I know very little about the CVE
process.

Or if this is a legitimate CVE, and if I'm remembering correctly about
Oracle, then maybe the CVE needs to be expanded to cover that database too?

-Jeremy

-- 
Jeremy Schneider
Database Engineer
Amazon Web Services





view thread (19+ messages)  latest in thread

Message-ID: <038270ec-28c8-1082-7fbc-8d5df3cbdbd0@amazon.com>
Permalink:  ../038270ec-28c8-1082-7fbc-8d5df3cbdbd0@amazon.com/
Also on:    postgresql.org/message-id/038270ec-28c8-1082-7fbc-8d5df3cbdbd0@amazon.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-general@postgresql.org
  Cc: schnjere@amazon.com, bradn@ca.ibm.com, michael@paquier.xyz, daniel@manitou-mail.org, jkatz@postgresql.org, magnus@hagander.net, tgl@sss.pgh.pa.us
  Subject: Re: CVE-2019-9193 about COPY FROM/TO PROGRAM
  In-Reply-To: <038270ec-28c8-1082-7fbc-8d5df3cbdbd0@amazon.com>
  References: <e6251b54-78f4-4ec0-8e22-8c4179f0e817@manitou-mail.org> <8059.1553980568@sss.pgh.pa.us> <CABUevEz3Rw+Q6K1NjtkNsh6tME4omjm+ywmpwEVLAjctJ+pWYg@mail.gmail.com> <6962.1554126913@sss.pgh.pa.us> <A2F7EB11-7B4B-452D-8DEA-0DCD88535FE5@postgresql.org> <20190402050501.GN16093@paquier.xyz> <OF1C5515C9.AC2B9DD6-ON852583D0.0044DEB2-852583D0.0045202D@notes.na.collabserv.com> <038270ec-28c8-1082-7fbc-8d5df3cbdbd0@amazon.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