pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Further fix privileges on pg_statistic_ext[_data].
2+ messages / 2 participants
[nested] [flat]
* pgsql: Further fix privileges on pg_statistic_ext[_data].
@ 2019-06-16 15:00 Tom Lane <tgl@sss.pgh.pa.us>
2019-06-16 18:50 ` Re: pgsql: Further fix privileges on pg_statistic_ext[_data]. Tomas Vondra <tomas.vondra@2ndquadrant.com>
0 siblings, 1 reply; 2+ messages in thread
From: Tom Lane @ 2019-06-16 15:00 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Further fix privileges on pg_statistic_ext[_data].
We don't need to restrict column privileges on pg_statistic_ext;
all of that data is OK to read publicly. What we *do* need to do,
which was overlooked by 6cbfb784c, is revoke public read access on
pg_statistic_ext_data; otherwise we still have the same security
hole we started with.
Catversion bump to ensure that installations calling themselves
beta2 will have this fix.
Diagnosis/correction by Dean Rasheed and Tomas Vondra, but I'm
going to go ahead and push this fix ASAP so we get more buildfarm
cycles on it.
Discussion: https://postgr.es/m/8833.1560647898@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6973b058bc8d32e104bed99c134a4fab4b5dfe13
Modified Files
--------------
src/backend/catalog/system_views.sql | 5 ++---
src/include/catalog/catversion.h | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pgsql: Further fix privileges on pg_statistic_ext[_data].
2019-06-16 15:00 pgsql: Further fix privileges on pg_statistic_ext[_data]. Tom Lane <tgl@sss.pgh.pa.us>
@ 2019-06-16 18:50 ` Tomas Vondra <tomas.vondra@2ndquadrant.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tomas Vondra @ 2019-06-16 18:50 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers@lists.postgresql.org
On Sun, Jun 16, 2019 at 03:00:27PM +0000, Tom Lane wrote:
>Further fix privileges on pg_statistic_ext[_data].
>
>We don't need to restrict column privileges on pg_statistic_ext;
>all of that data is OK to read publicly. What we *do* need to do,
>which was overlooked by 6cbfb784c, is revoke public read access on
>pg_statistic_ext_data; otherwise we still have the same security
>hole we started with.
>
>Catversion bump to ensure that installations calling themselves
>beta2 will have this fix.
>
>Diagnosis/correction by Dean Rasheed and Tomas Vondra, but I'm
>going to go ahead and push this fix ASAP so we get more buildfarm
>cycles on it.
Thanks! Appreciated.
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-06-16 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-16 15:00 pgsql: Further fix privileges on pg_statistic_ext[_data]. Tom Lane <tgl@sss.pgh.pa.us>
2019-06-16 18:50 ` Tomas Vondra <tomas.vondra@2ndquadrant.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