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 1tSQzE-00GUox-AA for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Dec 2024 01:23:56 +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 1tSQzC-00GfEe-Sn for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Dec 2024 01:23:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tSQzC-00GfEU-Ic for pgsql-hackers@lists.postgresql.org; Tue, 31 Dec 2024 01:23:54 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tSQzA-001KyK-1r for pgsql-hackers@lists.postgresql.org; Tue, 31 Dec 2024 01:23:53 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id CE47E2540162; Mon, 30 Dec 2024 20:23:51 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Mon, 30 Dec 2024 20:23:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1735608231; x=1735694631; bh=Ica+VI1aST DNyk17aPcNVgbnc2TTj1uwfda3czgihyY=; b=SiJXkLkFX3c8FiwL/4pt5IPXXS vdh9FDVXEmefVuVZo1T65NmH1yvZlGpg1Xi+Mi9JpObAs05YBc7SpqOtgReObqsI x9Umtl1sl2kibGU+N9iavWY2NWgrolSRpuhHuUgzG1GghUyZLB1ZfXg1vgmFXKS3 H0N+0S5uSKiiurjIBn5Y1DLBG5u36uwCj+uJ7b8W0g2Ql6VZx44Gh5btQz2hSTEr qIrDZzxjkD3BBn0qHW6KzzyBw9z8VStZl4mDIP+kisJby0fYNNWC5Oj1WiNL+lBa 0Wy6Yt/6CztNijMAK7Ha1uOz4reuBqr7BoaiVcyv+Bt+TC0IjY7Xm5xe8gZg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1735608231; x=1735694631; bh=Ica+VI1aSTDNyk17aPcNVgbnc2TTj1uwfda 3czgihyY=; b=EoiBUEk3dAQRKke+6W4hGjo+hrkEqrhl43ZCuWH/XUIHofcyGR2 kw1UguN9zztX6+wkHr4YQl2kq3eATcVTCWsFTrSgv/tPiTIAnVe4QFuaIpFutMnF xJmH1NsO3Qke24FxcgQtcKrMadoi/ztqkNTmus/MjOerp8rV8SfVdBcAYT0COMM/ c9rOXMcUL+wLR8LZ30xNAolW+aBXupqCToIfl3kBwisPyea3Qg/EZ6puABoJZd17 /O4X1/klhnhlQxCx96tv4KcyOCdxOcNQ3XHTcQYgx19w6rk7IOziGStBOlPzlD85 qliCyUlMd7Sdhq1OKZq3KdXqIu4euOu5hLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddvjedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnegfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhf gggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruc eomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteel ieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhes phgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepsghruhgtvgesmhhomhhjihgrnhdruhhspdhrtghpthhtoheprhho sggvrhhtohesuggvsghirghnrdhorhhgpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvg hrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepmhihohhn seguvggsihgrnhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Dec 2024 20:23:49 -0500 (EST) Date: Tue, 31 Dec 2024 10:23:29 +0900 From: Michael Paquier To: Bruce Momjian Cc: Roberto =?iso-8859-1?Q?C=2E_S=E1nchez?= , pgsql-hackers@lists.postgresql.org, Christoph Berg Subject: Re: Backport of CVE-2024-10978 fix to older pgsql versions (11, 9.6, and 9.4) Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ywcr7DonEhmF9syF" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ywcr7DonEhmF9syF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 30, 2024 at 04:58:26PM -0500, Bruce Momjian wrote: > I saw your question and was kind of stumped about how to answer. We > rarely look at back branches for backpatch analysis, so I think we are > kind of confused on how to answer. Under what circumstances are you > supported versions of Postgres that we don't support? Is this part of > Debian policy? So am I (I'd say that you are on your own for this one, still..). It is the first time I hear about that on the lists, but perhaps Christoph Berg would know better? Adding him in CC for comments.=20 Applying patches to older branches is a speciality in itself, and requires a lot of work and analysis (not planning to do that here for this specific CVE). The good thing is that 5a2fed911a85 has some regression tests, so you could be more confident that what you are doing is rather right. Now the code in this area has changed slightly because of the introduction of parallel workers in 9.6, so that could be tricky. I'd suggest to *not* bypass the work across multiple branches at once as it can help in dealing with conflicts in a more granular way, even if it may increase the analysis burden quite a bit. While on it, note also 73c9f91a1b6d by the way, which is a follow up of 5a2fed911a85 for CVE-2024-10978 related to parallel workers, it would not apply to 9.4, for sure. > Is our five-year insufficient? FWIW, I'm already on the side that five-year support is quite good and I'd side with not extending that, even argue about reducing it (anti-tomato armor is now on). Backporting patches across up to 7 branches can be really tedious depending on what you are dealing with in the backend. -- Michael --ywcr7DonEhmF9syF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmdzR5EACgkQnvQgOdby QH0Scg//RRJeps6fIzT0C2mr3xNx/WXun+8Jb05D5YMzR/ymfzusUmHbmGaA+/ZF 48Zp/u4hUMJnCoqlV0LhR4VV9P9qgTkGW0+pQbsPiNo0LNE/pS/AhfCJXJDm7RRp qSsdNXTwqe+I1za0CwzgHS2vrz7mc8jV245KiYkCnVVL9Dem/Y7zwQd0hJE46Dh+ oJyNcTLrWgwmJ8I1RQAPERwDXzcMwy0W16RAaMcDm/Qn5oH6GGmxub9NFRJykkGA J87l2AvV/4CW93k0H8+SfrX3+2w2vpqTYun5756RWJISKrkOLAsUN0ph1guIfs09 FTrKUvP0Uz3GOaGqNFQ2TodAqhzrd2CKM+dCtFKGLz1Drg74NdtbnbxMhCp6bSOT 2b8PaYWQ7uS3qzPYlN/IfTlZimu+0BNAyPwo14A2czed6KZvkePQpjnu6O4VFXCF KPy85O6ADkDtf0407mpC9TtrVdN51XubuGmOScjjk/6rItwoqt88pRsg+8RyQtW4 SIw8x9BR8RRv5TFyI6BdlWFEUTRc8MKoxegVJkVeJAP8hamIdgBMSkrqiMKNh9x2 QIWCib+BH2FRsWzYITwaONn1umShM49eJXkriTD7zeYgm6VODRiVEbHGgPtV+tfW NUhwFJJ2C004MDHFwzzPMV6vTn2VU2+Ce3C2RTHLqUzmoxnHXhs= =gc1Y -----END PGP SIGNATURE----- --ywcr7DonEhmF9syF--