Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYqwV-0001Xw-12 for pgsql-general@arkaria.postgresql.org; Thu, 15 Sep 2022 15:38:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYqwT-0005mR-Qm for pgsql-general@arkaria.postgresql.org; Thu, 15 Sep 2022 15:38:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYqwT-0005mI-FE for pgsql-general@lists.postgresql.org; Thu, 15 Sep 2022 15:38:17 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oYqwR-0002pz-51 for pgsql-general@lists.postgresql.org; Thu, 15 Sep 2022 15:38:16 +0000 Received: by mail-oi1-x231.google.com with SMTP id m130so2685940oif.6 for ; Thu, 15 Sep 2022 08:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date; bh=1GqD90GBhuQYhuT79Q9/MyfIX6daoSGBEih0rORtTA0=; b=QZ4TVFVTyWnCscsICcMrT8+du8KL4QmYPWM/BcKz4GShBbEI22BRAcl+SgsTZKubr0 g4QTzFz2bRu91R+Bfm41CUhSA9Scy56gqH6HZi2XHgv9eUlPRw/YOWm5wKUsqjhMDjth DFUEr/Ib5wjt/LsCjNPlrNpFodnbWECIEpdlB9SP2/VeN/tQDNLb29ZHO198Gq/lr3AL 7/d9fWI+PUXn5y29jbKBB+LpGMdDMU2lLGuatL/3A9dkOMGHxRrQnrXBA2dNg+anwbU+ EpphKbao7pW5ZtrPU2VZj3d1dvSScM2inR6TufZzHKNTHPoQs1FyBjWQAD/z3Vrt2hMB 5f+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date; bh=1GqD90GBhuQYhuT79Q9/MyfIX6daoSGBEih0rORtTA0=; b=OSSLDvKn2qnHCDNNB7VSW1iVtOJh23JgCj167niXWcsQXB0iiP/m3hjpHsClSO5Flm vvWaYE7CTkMls+o49UqtXygw52xP54IqffIbckkt6uSPf7+yeMH9mSjqGSIpzjSoufJK iVlb+F+r5VVA3DYNhJtdMxU0Wz83Jryli4XUi8SDGqjnYQBNSj0D8OLK22bBadKAkZ/K aFT75n3KJhg49jc6lboC+2djIxU8HAFf1kzzXubAe3JR/2IzD1p7Q30n/6XRpo6CMP8X f+mh41/8GukBBnX9Z1HkQUrn8/fhgHADE7dcKVsl152Lcsi3dpzHo4WC/7xwx/nphM6B 0ttQ== X-Gm-Message-State: ACgBeo0tZ1nt6kYEPUuv9CR2IUXQLLERr69jLSdoWqdBr9auRYhkVl9N sa6Dnr7GhSP4kd1IyHjNc0iuRnraOpA= X-Google-Smtp-Source: AA6agR50aCsxz3P6I7KLrBw+WqQ1I83kLTsQSpMyxxCp/W5zUNrYAOa50DhX2D4edfrWHre7DjlxlQ== X-Received: by 2002:a05:6808:f8f:b0:344:c3d4:775e with SMTP id o15-20020a0568080f8f00b00344c3d4775emr4482136oiw.266.1663256293780; Thu, 15 Sep 2022 08:38:13 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id c18-20020aca1c12000000b003430d6696e8sm8173265oic.8.2022.09.15.08.38.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Sep 2022 08:38:13 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------sve0usLheWDJxM0RFB07Qz0C" Message-ID: Date: Thu, 15 Sep 2022 10:38:12 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: CVE-2022-2625 Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <1663164138.840868773@f524.i.mail.ru> <1663215861.183275184@f728.i.mail.ru> <1663253540.660710598@f484.i.mail.ru> <3316951.1663255145@sss.pgh.pa.us> From: Ron In-Reply-To: <3316951.1663255145@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------sve0usLheWDJxM0RFB07Qz0C Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/15/22 10:19, Tom Lane wrote: > =?UTF-8?B?bWlzaGExOTY2IG1pc2hhMTk2Ng==?= writes: >> Is there a patch for 9.6 ? > No; that's out of support too. > > You might find that adapting the v10 patch back to 9.6, and > thence to 9.5, would be easier than trying to do it in one step. > > I'm a little bemused by your fixation on this particular CVE, > though. Some auditor might have issued a decree mandating all vulnerabilities greater than 7.0 *must* be patched. > As such things go, it's not a very big deal.It's only > of interest if you are routinely installing new extensions, *and* > those extensions' scripts contain insecure uses of CREATE OR > REPLACE/CREATE IF NOT EXISTS, *and* you can't fix the extensions > instead. I would not have thought an institution that's so > frozen that it can't update to an in-support PG version would be > doing a lot of new extension installations. > > In any case, the real thing you ought to be focusing on is whether > you are running back-ported patches for any of the *other* CVE-worthy > security bugs we've fixed since 9.5 went EOL. And how about the > data-corrupting bugs? As to why they're auditing EOL software... no one has ever considered auditors or Upper Management to be rational or consistent. > Most longtime PG developers think data > corruption hazards are a good deal more important than a lot of > the stuff we assign CVEs to. Almost every CVE we've ever issued is > only relevant if you have hostile actors able to issue arbitrary SQL > in your database, in which case you're in a world of trouble anyway. -- Angular momentum makes the world go 'round. --------------sve0usLheWDJxM0RFB07Qz0C Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit On 9/15/22 10:19, Tom Lane wrote:
=?UTF-8?B?bWlzaGExOTY2IG1pc2hhMTk2Ng==?= <mmisha1966@bk.ru> writes:
Is there a patch for 9.6 ?
No; that's out of support too.

You might find that adapting the v10 patch back to 9.6, and
thence to 9.5, would be easier than trying to do it in one step.

I'm a little bemused by your fixation on this particular CVE,
though.  

Some auditor might have issued a decree mandating all vulnerabilities greater than 7.0 must be patched.

As such things go, it's not a very big deal.It's only
of interest if you are routinely installing new extensions, *and*
those extensions' scripts contain insecure uses of CREATE OR
REPLACE/CREATE IF NOT EXISTS, *and* you can't fix the extensions
instead.  I would not have thought an institution that's so
frozen that it can't update to an in-support PG version would be
doing a lot of new extension installations.

In any case, the real thing you ought to be focusing on is whether
you are running back-ported patches for any of the *other* CVE-worthy
security bugs we've fixed since 9.5 went EOL.  And how about the
data-corrupting bugs?

As to why they're auditing EOL software... no one has ever considered auditors or Upper Management to be rational or consistent.

  Most longtime PG developers think data
corruption hazards are a good deal more important than a lot of
the stuff we assign CVEs to.  Almost every CVE we've ever issued is
only relevant if you have hostile actors able to issue arbitrary SQL
in your database, in which case you're in a world of trouble anyway.


--
Angular momentum makes the world go 'round.
--------------sve0usLheWDJxM0RFB07Qz0C--