Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcaEu-00022M-3q for pgsql-committers@arkaria.postgresql.org; Sun, 16 Jun 2019 18:50:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hcaEs-0005y2-Vc for pgsql-committers@arkaria.postgresql.org; Sun, 16 Jun 2019 18:50:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcaEs-0005xv-OO for pgsql-committers@lists.postgresql.org; Sun, 16 Jun 2019 18:50:50 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcaEp-00053d-MW for pgsql-committers@lists.postgresql.org; Sun, 16 Jun 2019 18:50:50 +0000 Received: by mail-wr1-x442.google.com with SMTP id p13so7515956wru.10 for ; Sun, 16 Jun 2019 11:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vsfgmE3UzTZJ/aeQF2vDS9lxg6wITXzlfmDix3/69G4=; b=PJqdIFD/vftR3CGr9zs9ld59RYtVbJThdyFa+q+lbK7zYxp2mghxB3kMuDChpO1gI1 4YmTKi4UdbK35AfN2uOCRn8u5cplpCu8EEo6NItSS5ox/v8ffIzoJ1jvvhmL8SzRrmkE cFm3+fTuDD2YfJAWSoH3/CbylYJWXgK2hlQ34tzIJ2wMczNOl6FX/RUXcRndoFztC8JI wxE6Jek7MjFUrlU0Em5Pg4jFzuOixvYaX23Ffcq7WTlArm+HMEpqOki4U9bYpv8f9p7n n6MHXdvemWgIX0RWVQqV/xUlugp7oUJPs8u2pGr1j0iXvUl3CIzQ+pI1E0bZa0n7qnsS fTOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vsfgmE3UzTZJ/aeQF2vDS9lxg6wITXzlfmDix3/69G4=; b=fr0FzpTmlKd30NWRUhnT9gqXQFnGUkLDeh9cC8RxiyfTg4pTXC8Jd2O+16Z9TvuGNQ CE1SQwyL7Rva5V8ruHSYswDXH8eWc9oFxPWYTRbRkM2CmZ5g7FQppnxkKL5Zmc9f3Txs QaxM865JzX/InmF4gQasjo35eEsrWCLf9wk+v2ZUWo2WXDs/+Vb6AsiwiSFURpKQmiiA SjZwUu0A++q+9XrHjK0q91Ear2+HfobsImsuKP8A9UlMV9y7/GXQ5AHjGDPoCEw+UOcx GXoPQLE180CGbd/UixBoilBBlzguq6na3MLMaGVazlsw57MVuCnV9PhkkL8tQOH7Zikz nHIg== X-Gm-Message-State: APjAAAVZ7y7B/2Ujjw7CbGRFtN9jk+kv3E94KaolSMfxO0cF/Xt1ONx5 KAk5XQpHmdr7ju/XTfqKXjb4Ew== X-Google-Smtp-Source: APXvYqz9hb4RInR8WCZEIU5xhW40v7XqE5OnrsLpwnjpbUtQRM8JrXpK9MafDWR8QT7p3j16UyFe9A== X-Received: by 2002:adf:db8b:: with SMTP id u11mr343616wri.354.1560711045723; Sun, 16 Jun 2019 11:50:45 -0700 (PDT) Received: from localhost (ip-86-49-243-43.net.upcbroadband.cz. [86.49.243.43]) by smtp.gmail.com with ESMTPSA id r12sm13598566wrt.95.2019.06.16.11.50.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 16 Jun 2019 11:50:45 -0700 (PDT) Date: Sun, 16 Jun 2019 20:50:43 +0200 From: Tomas Vondra To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Further fix privileges on pg_statistic_ext[_data]. Message-ID: <20190616185043.efldeuen7ccuwvml@development> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-1444-295967 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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