Source: aodh
Version: 20.0.0-2
Severity: important
Tags: patch security
X-Debbugs-Cc: Debian Security Team <[email protected]>

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.

Reply via email to