Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tSSuw-00GisB-1T for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Dec 2024 03:27:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tSSuv-00HITo-Cq for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Dec 2024 03:27:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tSSuv-00HITg-1g for pgsql-hackers@lists.postgresql.org; Tue, 31 Dec 2024 03:27:36 +0000 Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tSSus-002RWB-8p for pgsql-hackers@lists.postgresql.org; Tue, 31 Dec 2024 03:27:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Cc:Content-ID:Content-Description; bh=rExLAjpqKT0jLVAZuc4+8JJ8B+vsL89WkWyiCQJWsxY=; b=lbJGIBmHxHbanXIjabgXcAlCwK FZ6aM020cq3+k/wSaWsC/D9b6eICrJYL0TNbK7x1ml49HV+aBguG/108oTElGk8zYWdEfGy9tPZzM Qybt98fvgB70pKv3hhv2EHH3qaDoLk0EVxln5LDPRenmErzY6RnA/FAs8EYWPDyrDSvPKfCURZbrc 0NnXDq0hXj6a/0IhEnYn8+90DOywIM1KIp38ZB3vXQtQiMKRkG7AAeTuNieV4AMN44rcO7S73zOI1 qqeusVpSefLIG2wS6OQPg+9H8QgmwmXPS8el3Ep/kl3+PBoWPj6Vk5ITP+sEOslKvz1/ECKAabOjI j9cMpj3A==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1tSSur-006VRa-0K for pgsql-hackers@lists.postgresql.org; Tue, 31 Dec 2024 03:27:33 +0000 Received: from localhost (localhost [127.0.0.1]) by bogota.connexer.com (Postfix) with ESMTP id 55EA6120368 for ; Mon, 30 Dec 2024 22:27:31 -0500 (EST) X-Virus-Scanned: Debian amavis at bogota.connexer.com Received: from node01.connexer.com ([127.0.0.1]) by localhost (bogota.connexer.com [127.0.0.1]) (amavis, port 10024) with ESMTP id RcTnX2OMya9r for ; Tue, 31 Dec 2024 03:27:31 +0000 (UTC) Received: from miami.connexer.com (unknown [172.56.79.60]) by bogota.connexer.com (Postfix) with ESMTPSA id C8CF61202A8 for ; Tue, 31 Dec 2024 03:27:30 +0000 (UTC) Date: Mon, 30 Dec 2024 22:27:28 -0500 From: Roberto =?iso-8859-1?Q?C=2E_S=E1nchez?= To: pgsql-hackers@lists.postgresql.org Subject: Re: Backport of CVE-2024-10978 fix to older pgsql versions (11, 9.6, and 9.4) Message-ID: References: <3999105.1735610459@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3999105.1735610459@sss.pgh.pa.us> X-Debian-User: roberto List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Dec 30, 2024 at 09:00:59PM -0500, Tom Lane wrote: > > This ties into a criticism I have of the criteria that outfits like > Debian and Red Hat seem to have for back-patching bug fixes: if it's > labeled "CVE" then it must get fixed, even for something as narrow > and low-impact as CVE-2024-10978. I can't speak for RedHat, but on the Debian side we are actively pushing back against this. It seems to be common practice for some corporate outfits to manage compliance by running some commercially available scanner and then trying to get every reported CVE "fixed" so that their dashboard will be all green. It's an uphill battle, though, since all-green dashboards trump rationality more often than not in those discussions. > Meanwhile, even very critical > data-loss bugs are typically ignored. For a database, this verges > on insanity. > Ack. > Maybe, if we were doing an only-critical-fixes LTS release series, > it'd be easier for downstream outfits to consume that instead of > cherry-picking security fixes. I'm just speculating though. > It's entirely possible that packagers would ignore our opinions > and keep on cherry-picking only security fixes, in which case > we'd be doing a lot of work for little return. > As far as Debian and PostgreSQL, we try to avoid cherry-picking and opt for the point releases you publish whenever possible. Christoph already does this for the newer releases (what is present in Debian stable and sometimes LTS, depending on how long it has been since the Debian LTS version has been released). For the older releases, however, we are sometimes dealing with PostgreSQL versions that are no longer actively developed upstream, so we have to resort to cherry-picking. It is definitely not ideal, but the PostgreSQL code is very high quality and we are generally able to handle the backporting without the need of exernal assistance. In any event, if releases of 11, 9.6, and 9.4 were still being published to address new security issues (and data integrity bugs), then we would simply be using those. However, given the age of those releases, it is understandable that such releases are no longer being made. Regards, -Roberto -- Roberto C. Sánchez