🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3325

Bug#1153094: aodh: authorization bypass in alarm listing API allows

#3325
From: Thomas Goirand
Date: Thu, 05 Nov 2026 10:10
39 lines
3487 bytes
Source: aodh
Version: 20.0.0-2
Severity: important
Tags: patch security
X-Debbugs-Cc: Debian Security Team <team@security.debian.org>

A flaw in AODH's alarm listing API allows an authenticated non-admin
user to list the alarm definitions of another project, including their
action URLs, which may contain secret-bearing credentials (for
example trust+http:// URLs embedding a keystone trust token).

In aodh/api/controllers/v2/alarms.py, the request authorization checked
the first occurrence of a project_id query filter, while the storage
filter dict built afterwards kept the last one. By passing two
project_id filters (their own project first, a foreign project second),
a non-admin caller passed the authorization check while the storage
lookup ran against the foreign project.

Upstream bug:
  https://bugs.launchpad.net/aodh/+bug/2167496

Fixed upstream on master by rejecting duplicated query fields with an
HTTP 400 response, so that the authorization check and the storage
filter always operate on the same value. Upstream patches:
  https://opendev.org/openstack/aodh/commit/7381d2cd6ef922fb6aed912e7366268176d42b06 (master)
  https://review.opendev.org/c/openstack/aodh/+/1014283 (stable/2026.2)
  https://review.opendev.org/c/openstack/aodh/+/1014284 (stable/2026.1)
  https://review.opendev.org/c/openstack/aodh/+/1014285 (stable/2025.2)

The defect affects every version of the aodh source package currently
in Debian (23.0.0-2 in testing/unstable, 20.0.0-2 in trixie,
15.0.0-3 in bookworm, 11.0.0-2 in bullseye).

The fix is ready in the packaging Git; aodh 23.0.0-3 will be uploaded
to unstable shortly, and updates for the stable releases will follow
through the usual security process:
  https://salsa.debian.org/openstack-team/services/aodh

I am not aware of a CVE assignment for this issue yet.
Technical Details
Message-ID: <NW2zT-9YhD-19@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Thomas Goirand <zigo@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153094: aodh: authorization bypass in alarm listing API allows
Date: Thu, 05 Nov 2026 11:10:01 +0100
Message-ID: <NW2zT-9YhD-19@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov  5 10:07:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Thomas Goirand <zigo@debian.org>, 1153094@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+openstack@tracker.debian.org
X-Debian-Pr-Message: report 1153094
X-Debian-Pr-Package: src:aodh
X-Debian-Pr-Keywords: patch security
X-Debian-Pr-Source: aodh
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000775
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 39
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 05 Nov 2026 11:05:47 +0100
X-Original-Message-ID: <179387314773.57712.13266434520790266759.reportbug@zbuz.infomaniak.ch>