🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel.release
1 messages
1 total messages Started by Debian Bug Tracking System Sat, 21 Nov 2026 09:40
Bug#1144916: marked as done (trixie-pu: package octavia/16.0.0-2)
#981
Author: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
327 lines
17883 bytes
This is a multi-part message in MIME format...

------------=_1795253348-3308388-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 21 Nov 2026 09:28:03 +0000
with message-id <E1xUhO7-00000008t1V-24dO@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1144916,
regarding trixie-pu: package octavia/16.0.0-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1144916: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1144916
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795253348-3308388-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 20 Aug 2026 12:34:01 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-31.9 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,FOURLA,
	FROMDEVELOPER,HAS_PACKAGE,MD5_SHA1_SUM,NO_RELAYS,XMAILER_REPORTBUG
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 130; hammy, 150; neutral, 327; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--H*Ad:N*Bug,
	0.000-+--HTo:N*Debian
Return-path: <zigo@debian.org>
Received: via submission
	by buxtehude.debian.org with esmtp (Exim 4.96)
	(envelope-from <zigo@debian.org>)
	id 1wx1y3-005UFk-2C
	for submit@bugs.debian.org;
	Thu, 20 Aug 2026 12:34:01 +0000
Content-Type: multipart/mixed; boundary="===============5668245077580580605=="
MIME-Version: 1.0
From: Thomas Goirand <zigo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package octavia/16.0.0-2
Message-ID: <178722923832.125548.1721793709172438288.reportbug@zbuz.infomaniak.ch>
X-Mailer: reportbug 13.2.0
Date: Thu, 20 Aug 2026 14:33:58 +0200
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============5668245077580580605==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGFja2FnZTogcmVsZWFzZS5kZWJpYW4ub3JnClNldmVyaXR5OiBub3JtYWwKVGFnczogdHJpeGll
ClgtRGViYnVncy1DYzogb2N0YXZpYUBwYWNrYWdlcy5kZWJpYW4ub3JnCkNvbnRyb2w6IGFmZmVj
dHMgLTEgKyBzcmM6b2N0YXZpYQpVc2VyOiByZWxlYXNlLmRlYmlhbi5vcmdAcGFja2FnZXMuZGVi
aWFuLm9yZwpVc2VydGFnczogcHUKCkhpLAoKWyBSZWFzb24gXQpJIHdvdWxkIGxpa2UgdG8gdXBs
b2FkIE9jdGF2aWEgb2N0YXZpYV8xNi4wLjAtMytkZWIxM3UxIHRvCnAtdSB0byBhZGRyZXNzOgpo
dHRwczovL3NlY3VyaXR5Lm9wZW5zdGFjay5vcmcvb3NzYS9PU1NBLTIwMjYtMDM1Lmh0bWwKYWth
OgpodHRwczovL2J1Z3MuZGViaWFuLm9yZy8xMTQ0ODE0CgpbIEltcGFjdCBdCkFzIHBlciB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dGF2aWEvMTYuMC4wLTMrZGViMTN1
MSB0byBwLXUuCgpDaGVlcnMsCgpUaG9tYXMgR29pcmFuZCAoemlnbykK

--===============5668245077580580605==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="octavia_16.0.0-3+deb13u1.debdiff"

diff -Nru octavia-16.0.0/debian/changelog octavia-16.0.0/debian/changelog
--- octavia-16.0.0/debian/changelog	2025-08-22 16:56:10.000000000 +0200
+++ octavia-16.0.0/debian/changelog	2026-08-20 14:22:30.000000000 +0200
@@ -1,3 +1,11 @@
+octavia (16.0.0-3+deb13u1) trixie; urgency=medium
+
+  * CVE-2026-74248 / OSSA-2026-035: Unauthorized QoS policy deletion lock.
+    Applied upstream patch: "Fix QoS policy validation to use request context".
+    (Closes: #1144814).
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 20 Aug 2026 14:22:30 +0200
+
 octavia (16.0.0-3) unstable; urgency=medium
 
   * Add an aphora-agent.service as this is what the Octavia user_data script
diff -Nru octavia-16.0.0/debian/patches/CVE-2026-74248_OSSA-2026-035_Fix_QoS_policy_validation_to_use_request_context.patch octavia-16.0.0/debian/patches/CVE-2026-74248_OSSA-2026-035_Fix_QoS_policy_validation_to_use_request_context.patch
--- octavia-16.0.0/debian/patches/CVE-2026-74248_OSSA-2026-035_Fix_QoS_policy_validation_to_use_request_context.patch	1970-01-01 01:00:00.000000000 +0100
+++ octavia-16.0.0/debian/patches/CVE-2026-74248_OSSA-2026-035_Fix_QoS_policy_validation_to_use_request_context.patch	2026-08-20 14:22:30.000000000 +0200
@@ -0,0 +1,134 @@
+Author: Gregory Thiemonge <gthiemon@redhat.com>
+Date: Thu, 23 Jul 2026 06:39:28 +0000
+Description: Fix QoS policy validation to use request context
+ The qos_policy_exists validation was using service credentials
+ instead of the user's request context when querying Neutron for
+ QoS policies. This allowed users to reference QoS policies from
+ other tenants when creating or updating a load balancer.
+ .
+ Pass the request context through qos_policy_exists, get_qos_policy,
+ and down to _get_resource so that Neutron enforces tenant scoping.
+Bug: https://launchpad.net/bugs/2161500
+Bug-Debian: https://bugs.debian.org/1144814
+Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
+Change-Id: I0a30cf54fc31b83e6c48d1b65b804659e06fd7f7
+Signed-off-by: Gregory Thiemonge <gthiemon@redhat.com>
+Origin: upstream, https://review.opendev.org/c/openstack/octavia/+/1000295
+Last-Update: 2026-08-19
+
+diff --git a/octavia/api/v2/controllers/load_balancer.py b/octavia/api/v2/controllers/load_balancer.py
+index 3fe5935..a2cabaf 100644
+--- a/octavia/api/v2/controllers/load_balancer.py
++++ b/octavia/api/v2/controllers/load_balancer.py
+@@ -295,7 +295,7 @@
+             load_balancer.vip_network_id = subnet.network_id
+         if load_balancer.vip_qos_policy_id:
+             validate.qos_policy_exists(
+-                qos_policy_id=load_balancer.vip_qos_policy_id)
++                qos_policy_id=load_balancer.vip_qos_policy_id, context=context)
+ 
+         # Even though we've just validated the subnet or else retrieved its ID
+         # directly from the port, we might still be missing the network.
+@@ -745,7 +745,8 @@
+             validate.qos_extension_enabled(network_driver)
+             if load_balancer.vip_qos_policy_id is not None:
+                 if db_lb.vip.qos_policy_id != load_balancer.vip_qos_policy_id:
+-                    validate.qos_policy_exists(load_balancer.vip_qos_policy_id)
++                    validate.qos_policy_exists(load_balancer.vip_qos_policy_id,
++                                               context=context)
+ 
+         if not isinstance(load_balancer.vip_sg_ids, wtypes.UnsetType):
+             if load_balancer.vip_sg_ids is None:
+diff --git a/octavia/common/validate.py b/octavia/common/validate.py
+index e2c33bc..7458b8e 100644
+--- a/octavia/common/validate.py
++++ b/octavia/common/validate.py
+@@ -350,11 +350,12 @@
+     return subnet
+ 
+ 
+-def qos_policy_exists(qos_policy_id):
++def qos_policy_exists(qos_policy_id, context=None):
+     network_driver = utils.get_network_driver()
+     qos_extension_enabled(network_driver)
+     try:
+-        qos_policy = network_driver.get_qos_policy(qos_policy_id)
++        qos_policy = network_driver.get_qos_policy(qos_policy_id,
++                                                   context=context)
+     except Exception as e:
+         raise exceptions.InvalidSubresource(
+             resource='qos_policy', id=qos_policy_id) from e
+diff --git a/octavia/network/drivers/neutron/base.py b/octavia/network/drivers/neutron/base.py
+index 063fca0..ff69486 100644
+--- a/octavia/network/drivers/neutron/base.py
++++ b/octavia/network/drivers/neutron/base.py
+@@ -281,8 +281,8 @@
+             'port', unique_item=True,
+             network_id=network_id, device_id=device_id)
+ 
+-    def get_qos_policy(self, qos_policy_id):
+-        return self._get_resource('qos_policy', qos_policy_id)
++    def get_qos_policy(self, qos_policy_id, context=None):
++        return self._get_resource('qos_policy', qos_policy_id, context=context)
+ 
+     def qos_enabled(self):
+         return self._qos_enabled
+diff --git a/octavia/network/drivers/noop_driver/driver.py b/octavia/network/drivers/noop_driver/driver.py
+index e30e065..f581af6 100644
+--- a/octavia/network/drivers/noop_driver/driver.py
++++ b/octavia/network/drivers/noop_driver/driver.py
+@@ -431,7 +431,7 @@
+ 
+         return amp_configs
+ 
+-    def get_qos_policy(self, qos_policy_id):
++    def get_qos_policy(self, qos_policy_id, context=None):
+         LOG.debug("Qos Policy %s no-op, get_qos_policy qos_policy_id %s",
+                   self.__class__.__name__, qos_policy_id)
+         self.networkconfigconfig[qos_policy_id] = (qos_policy_id,
+@@ -590,8 +590,8 @@
+             'network_models.SecurityGroup'):
+         return self.driver.get_security_group_by_id(sg_id, context=context)
+ 
+-    def get_qos_policy(self, qos_policy_id):
+-        return self.driver.get_qos_policy(qos_policy_id)
++    def get_qos_policy(self, qos_policy_id, context=None):
++        return self.driver.get_qos_policy(qos_policy_id, context=context)
+ 
+     def get_network_by_name(self, network_name):
+         return self.driver.get_network_by_name(network_name)
+diff --git a/octavia/tests/unit/common/test_validate.py b/octavia/tests/unit/common/test_validate.py
+index f2f7674..272e02f 100644
+--- a/octavia/tests/unit/common/test_validate.py
++++ b/octavia/tests/unit/common/test_validate.py
+@@ -368,12 +368,15 @@
+     def test_qos_policy_exists(self):
+         qos_policy_id = uuidutils.generate_uuid()
+         qos_policy = network_models.QosPolicy(id=qos_policy_id)
++        context = mock.Mock()
+         with mock.patch(
+                 'octavia.common.utils.get_network_driver') as net_mock:
+             net_mock.return_value.get_qos_policy.return_value = qos_policy
+             self.assertEqual(
+-                validate.qos_policy_exists(qos_policy_id),
++                validate.qos_policy_exists(qos_policy_id, context=context),
+                 qos_policy)
++            net_mock.return_value.get_qos_policy.assert_called_once_with(
++                qos_policy_id, context=context)
+ 
+             net_mock.return_value.get_qos_policy.side_effect = Exception
+             self.assertRaises(exceptions.InvalidSubresource,
+diff --git a/releasenotes/notes/fix-qos-policy-context-baa964df88ba4645.yaml b/releasenotes/notes/fix-qos-policy-context-baa964df88ba4645.yaml
+new file mode 100644
+index 0000000..5cb2850
+--- /dev/null
++++ b/releasenotes/notes/fix-qos-policy-context-baa964df88ba4645.yaml
+@@ -0,0 +1,8 @@
++---
++security:
++  - |
++    Fixed QoS policy validation to use the user's request context when
++    checking if a QoS policy exists. Previously, the validation used
++    service credentials instead of the user's context, which could allow
++    a user to assign a QoS policy belonging to another tenant to their
++    load balancer.
diff -Nru octavia-16.0.0/debian/patches/series octavia-16.0.0/debian/patches/series
--- octavia-16.0.0/debian/patches/series	2025-08-22 16:56:10.000000000 +0200
+++ octavia-16.0.0/debian/patches/series	2026-08-20 14:22:30.000000000 +0200
@@ -4,3 +4,4 @@
 use-octavia-agent-lvs-masquerade-not-lvs-masquerade.sh.patch
 compat-python3-cryptography-bookworm.patch
 fix-requirements-to-allow-python3-cryptography-38.patch
+CVE-2026-74248_OSSA-2026-035_Fix_QoS_policy_validation_to_use_request_context.patch

--===============5668245077580580605==--

------------=_1795253348-3308388-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1144916-done) by bugs.debian.org; 21 Nov 2026 09:28:11 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 74; neutral, 16; spammy, 0.
	spammytokens: hammytokens:0.000-+--H*r:sk:coccia., 0.000-+--H*m:coccia,
	 0.000-+--H*MI:coccia, 0.000-+--H*r:submission, 0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:60738)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhOG-00Druk-20
	for 1144916-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:11 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO9-004ifK-0J
	for 1144916-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
	Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
	Content-ID:Content-Description:In-Reply-To:References;
	bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=4iXq9oK54WxkLKH2ORx8lQGElT
	Ak+keO39faycHYHwlZf6s+fNCyGPRAzhd1A3viwKTKt+hq/Nh05gCO4RifIoeZvwJvOdPxX3z0+iW
	yA1dv+JRyabOgyZbbUNh7H1MlXwULMhKlcoRd0i2jgGZl1YnLReN18HH76JNOt8bTaWGjgzNK+1Dv
	kXQJxjwZXwJxkdOiovKoZwzWZxFsp7XahfPCYMneY1PHZs/OBrbKn+j3308m01Qxwa0BbsKq49Umj
	YakzEqyeLc/Xq174MRoBK/SePLgqxRgcc3BRmH1g+Qe6KCXdSbTZjvshWKoC+Ht1UlMwjAVPGYHbN
	Nv6iKIlQ==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO7-00000008t1V-24dO
	for 1144916-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:03 +0000
To: 1144916-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO7-00000008t1V-24dO@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 110

Version: 13.8

This update was released as part of 13.8.
------------=_1795253348-3308388-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads