Article View: linux.debian.devel.release
Article #1004Bug#1144989: marked as done (trixie-pu: package aodh/20.0.0-2)
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
Date: Sat, 21 Nov 2026 09:40
321 lines
15783 bytes
15783 bytes
This is a multi-part message in MIME format...
------------=_1795253352-3308445-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:01 +0000
with message-id <E1xUhO5-00000008suN-3Opj@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1144989,
regarding trixie-pu: package aodh/20.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
1144989: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1144989
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253352-3308445-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 21 Aug 2026 07:49:08 +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, 117; hammy, 150; neutral, 331; 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 1wxJzt-008Btr-1b
for submit@bugs.debian.org;
Fri, 21 Aug 2026 07:49:07 +0000
Content-Type: multipart/mixed; boundary="===============5321209185902880683=="
MIME-Version: 1.0
From: Thomas Goirand <zigo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package aodh/20.0.0-2
Message-ID: <178729854454.7545.13838969003874940039.reportbug@zbuz.infomaniak.ch>
X-Mailer: reportbug 13.2.0
Date: Fri, 21 Aug 2026 09:49:04 +0200
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============5321209185902880683==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: aodh@packages.debian.org
Control: affects -1 + src:aodh
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
[ Reason ]
I'd like to upload aodh 20.0.0-2+deb13u1, in order to address:
https://security.openstack.org/ossa/OSSA-2026-036.html
aka:
https://bugs.debian.org/1144879
[ Impact ]
As per upstream announce:
Aodh does not enforce project scope on the
alarm listing API when the all_projects query parameter is supplied with a
false value. A non-admin user holding only the reader role can list alarms
belonging to other projects, optionally targeting a specific project, exposing
alarm metadata such as webhook action URLs, signal endpoints, and project
identifiers.
[ Tests ]
I've run OpenStack functional testing on my CI, and Aodh appeared to
continue working. On top of this, the patch includes new tests. I've
also deployed the patched version in production in our public cloud.
[ Risks ]
Minimum: well tested, and small patch.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
Please allow me to upload aodh/20.0.0-2+deb13u1 to p-u.
Cheers,
Thomas Goirand (zigo)
--===============5321209185902880683==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="aodh_20.0.0-2+deb13u1.debdiff"
diff -Nru aodh-20.0.0/debian/changelog aodh-20.0.0/debian/changelog
--- aodh-20.0.0/debian/changelog 2025-07-11 12:12:52.000000000 +0200
+++ aodh-20.0.0/debian/changelog 2026-08-12 09:57:24.000000000 +0200
@@ -1,3 +1,16 @@
+aodh (20.0.0-2+deb13u1) trixie; urgency=medium
+
+ * CVE-2026-XXXXX / OSSA-2026-036: Aodh does not correctly enforce project
+ scope when the all_projects query parameter is present with a false value.
+ A non-admin project reader can list alarms belonging to other projects by
+ passing all_projects=false in a list query, optionally combined with a
+ foreign project_id to target a specific project. Leaked alarm data includes
+ trust webhook URLs, Heat signal endpoints, and project identifiers. Applied
+ upstream patch: "Fix all_projects=false bypass project scope"
+ (Closes: #1144879).
+
+ -- Thomas Goirand <zigo@debian.org> Wed, 12 Aug 2026 09:57:24 +0200
+
aodh (20.0.0-2) unstable; urgency=medium
* Set export OS_OSLO_MESSAGING_RABBIT__PROCESSNAME for all daemons.
diff -Nru aodh-20.0.0/debian/patches/CVE-2026-XXXXX-aodh-lp-2161276-2025.1.patch aodh-20.0.0/debian/patches/CVE-2026-XXXXX-aodh-lp-2161276-2025.1.patch
--- aodh-20.0.0/debian/patches/CVE-2026-XXXXX-aodh-lp-2161276-2025.1.patch 1970-01-01 01:00:00.000000000 +0100
+++ aodh-20.0.0/debian/patches/CVE-2026-XXXXX-aodh-lp-2161276-2025.1.patch 2026-08-12 09:57:24.000000000 +0200
@@ -0,0 +1,101 @@
+Description: Fix all_projects=false bypass project scope
+ Modify how all_projects is handled in queries using the alarms endpoint.
+ Previously using all_project=false would allow skipping a branch of the
+ code, which scopes requests to the current project. With the new code,
+ when all_projects=false is present, the project scoping is done as
+ originally intended.
+Author: Jaromir Wysoglad <jwysogla@redhat.com>
+Date: Tue, 28 Jul 2026 09:51:51 +0000
+Bug: https://launchpad.net/bugs/2161276
+Bug-Debian: https://bugs.debian.org/1144879
+Change-Id: Ia0ffb21b3928a1677dd97c0e26686f53fd9f9bef
+Signed-off-by: Jaromir Wysoglad <jwysogla@redhat.com>
+Origin: upstream, pre-OSSA mailing list
+Last-Update: 2026-08-12
+
+diff --git a/aodh/api/controllers/v2/alarms.py b/aodh/api/controllers/v2/alarms.py
+index 92163c90..bf11b1c5 100644
+--- a/aodh/api/controllers/v2/alarms.py
++++ b/aodh/api/controllers/v2/alarms.py
+@@ -887,11 +887,10 @@ class AlarmsController(rest.RestController):
+ 'only operations %s are allowed' % ALARM_QUERY_OPS_ALLOWED
+ )
+
+- if 'all_projects' in keys:
+- if v2_utils.get_query_value(q, 'all_projects', 'boolean'):
+- rbac.enforce('get_alarms:all_projects', pecan.request,
+- pecan.request.enforcer, target)
+- keys.remove('all_projects')
++ if ('all_projects' in keys and
++ v2_utils.get_query_value(q, 'all_projects', 'boolean')):
++ rbac.enforce('get_alarms:all_projects', pecan.request,
++ pecan.request.enforcer, target)
+ else:
+ project_id = pecan.request.headers.get('X-Project-Id')
+ is_admin = rbac.is_admin(pecan.request, pecan.request.enforcer)
+@@ -905,6 +904,7 @@ class AlarmsController(rest.RestController):
+ request_project = v2_utils.get_query_value(q, 'project_id')
+ if not is_admin and request_project != project_id:
+ raise base.ProjectNotAuthorized(request_project)
++ keys.discard('all_projects')
+
+ for query in q:
+ if query.field in keys:
+diff --git a/aodh/tests/functional/api/v2/test_alarm_scenarios.py b/aodh/tests/functional/api/v2/test_alarm_scenarios.py
+index 4a997540..210a5d30 100644
+--- a/aodh/tests/functional/api/v2/test_alarm_scenarios.py
++++ b/aodh/tests/functional/api/v2/test_alarm_scenarios.py
+@@ -219,6 +219,36 @@ class TestAlarms(TestAlarmsBase):
+
+ _test('project_id')
+
++ def test_get_alarm_all_projects_true_normal_user(self):
++ response = self.get_json(
++ '/alarms',
++ headers=self.auth_headers,
++ q=[{'field': 'all_projects', 'op': 'eq', 'value': 'true'}],
++ expect_errors=True,
++ status=403
++ )
++ faultstring = 'RBAC Authorization Failed'
++ self.assertIn(faultstring,
++ response.json['error_message']['faultstring'])
++
++ def test_get_alarm_all_projects_false_normal_user(self):
++ alarms = self.get_json(
++ '/alarms',
++ headers=self.auth_headers,
++ q=[{'field': 'all_projects', 'op': 'eq', 'value': 'false'}]
++ )
++ self.assertEqual(3, len(alarms))
++
++ def test_get_alarm_all_projects_false_normal_user_from_other_project(self):
++ auth_headers = copy.copy(self.auth_headers)
++ auth_headers['X-Project-Id'] = 'other-project'
++ alarms = self.get_json(
++ '/alarms',
++ headers=auth_headers,
++ q=[{'field': 'all_projects', 'op': 'eq', 'value': 'false'}]
++ )
++ self.assertEqual(0, len(alarms))
++
+ def test_get_alarm_forbiden(self):
+ pf = os.path.abspath('aodh/tests/functional/api/v2/policy.yaml-test')
+ self.CONF.set_override('policy_file', pf, group='oslo_policy')
+diff --git a/releasenotes/notes/fix-all-projects-bypass-project-scope-7b9a64d168f12353.yaml b/releasenotes/notes/fix-all-projects-bypass-project-scope-7b9a64d168f12353.yaml
+new file mode 100644
+index 00000000..143cd241
+--- /dev/null
++++ b/releasenotes/notes/fix-all-projects-bypass-project-scope-7b9a64d168f12353.yaml
+@@ -0,0 +1,9 @@
++---
++security:
++ - |
++ Fixed a vulnerability where passing ``all_projects=false`` in alarm
++ queries bypassed project scope filtering. Previously, the presence
++ of ``all_projects`` in the query caused the project scoping logic to
++ be skipped entirely, allowing non-admin users to list alarms from
++ all projects. Queries with ``all_projects=false`` or without
++ ``all_projects`` now correctly restrict results to the caller's project.
+--
+2.43.0
diff -Nru aodh-20.0.0/debian/patches/series aodh-20.0.0/debian/patches/series
--- aodh-20.0.0/debian/patches/series 2025-07-11 12:12:52.000000000 +0200
+++ aodh-20.0.0/debian/patches/series 2026-08-12 09:57:24.000000000 +0200
@@ -2,3 +2,4 @@
remove-wsmeext.sphinxext.patch
remove-httpdomain-sphinx-ext.patch
add-a-healthcheck_disable-file.patch
+CVE-2026-XXXXX-aodh-lp-2161276-2025.1.patch
--===============5321209185902880683==--
------------=_1795253352-3308445-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1144989-done) by bugs.debian.org; 21 Nov 2026 09:28:05 +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=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41180)
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 1xUhOA-00Drjg-1E
for 1144989-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:05 +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 mailly.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 1xUhO7-004hw4-1g
for 1144989-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +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=0O7p2UiCKKcP4/stk/yVg+r5Cf
qZ8+U5ruO2T+c5Cb0KxFHaGtlgTWfQ5fb7CRc2FLX8LF1knN9tDM+2beI1Nm/QdIBCwUD5SqQE3R3
Ohm4UsIGXkRSfXmCj4BsuQp1hEh8no46tuZc4e6ANwowQD9aB+Hfj05+6TVv6r43I5ICtf5ljwjHZ
bELiW0PrdUTHt/gukmBQ+MkouTwfgeBjIsDMDf+ta+E3LUEB3CWJickC2VoulAYDHQYiDp/v0bgLr
J9CDIqb33Y6wVTKf1ZMbeKmPZvMyhe+ehJTN35AuYTY4ieKA+TgIGiiZnRRRWnnB2YNJmq5lCcYTS
BGEIvcuw==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO5-00000008suN-3Opj
for 1144989-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:01 +0000
To: 1144989-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: <E1xUhO5-00000008suN-3Opj@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:01 +0000
X-CrossAssassin-Score: 59
Version: 13.8
This update was released as part of 13.8.
------------=_1795253352-3308445-0--
Technical Details
Message-ID:
<O1PJF-dfjm-161@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O1PJF-dfjm-163@gated-at.bofh.it> <Nuskp-cgaa-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: "Debian Bug Tracking System" <owner@bugs.debian.org> Newsgroups: linux.debian.devel.release Subject: Bug#1144989: marked as done (trixie-pu: package aodh/20.0.0-2) Date: Sat, 21 Nov 2026 10:40:03 +0100 Message-ID: <O1PJF-dfjm-161@gated-at.bofh.it> References: <O1PJF-dfjm-163@gated-at.bofh.it> <Nuskp-cgaa-1@gated-at.bofh.it> X-Mailbox-Line: From debian-release-request@lists.debian.org Sat Nov 21 09:34:20 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Amavis-Spam-Status: No, score=-2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no MIME-Version: 1.0 X-Mailer: MIME-tools 5.510 (Entity 5.510) X-Debian-Pr-Message: closed 1144989 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Reply-To: 1144989@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1795253352-3308445-0" X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189306 List-ID: <debian-release.lists.debian.org> List-URL: <https://lists.debian.org/debian-release/> List-Archive: https://lists.debian.org/msgid-search/handler.1144989.D1144989.17952532853305540.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 321 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 09:29:12 +0000 X-Original-Message-ID: <handler.1144989.D1144989.17952532853305540.ackdone@bugs.debian.org> X-Original-References: <E1xUhO5-00000008suN-3Opj@coccia.debian.org> <178729854454.7545.13838969003874940039.reportbug@zbuz.infomaniak.ch>