pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Document search_path security with untrusted dbowner or CREATERO
7+ messages / 1 participants
[nested] [flat]

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fd5e16e782fc6cd829b27e2c83c623b8020e5774

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0c1008dd455a5b0a9b12e7337fd031dcd6f61cdb

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b97857b67659afda917bef87ac03bb99781db878

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3056258149c1aea7341a4d81bd502e1a1c8198a6

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cc4371dc345392777aa419ca872b28c4169a797b

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08395e592cbc540bdf111ab4a27e01a375983e23

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Document search_path security with untrusted dbowner or CREATERO
@ 2019-12-08 19:11  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Noah Misch @ 2019-12-08 19:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Document search_path security with untrusted dbowner or CREATEROLE.

Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 wrote, incorrectly, that
certain schema usage patterns are secure against CREATEROLE users and
database owners.  When an untrusted user is the database owner or holds
CREATEROLE privilege, a query is secure only if its session started with
SELECT pg_catalog.set_config('search_path', '', false) or equivalent.
Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20191013013512.GC4131753@rfd.leadboat.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6909742976612e45a68e765618bb88dacd6da758

Modified Files
--------------
doc/src/sgml/ddl.sgml | 80 +++++++++++++++++++++++++--------------------------
1 file changed, 40 insertions(+), 40 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2019-12-08 19:11 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>
2019-12-08 19:11 pgsql: Document search_path security with untrusted dbowner or CREATERO Noah Misch <noah@leadboat.com>

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