Article View: linux.debian.devel.release
Article #966Bug#1144931: marked as done (trixie-pu: package manila/1:20.0.0-3+deb13u1)
From: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
Date: Sat, 21 Nov 2026 09:40
263 lines
12938 bytes
12938 bytes
This is a multi-part message in MIME format...
------------=_1795253351-3308433-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-00000008t0M-0t9D@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1144931,
regarding trixie-pu: package manila/1:20.0.0-3+deb13u1
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
1144931: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1144931
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253351-3308433-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 20 Aug 2026 15:39:04 +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=-30.9 required=4.0 tests=BAYES_00,
BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,FOURLA,
FROMDEVELOPER,GMAIL,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, 44; hammy, 150; neutral, 253; 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 1wx4r7-005vKc-2g
for submit@bugs.debian.org;
Thu, 20 Aug 2026 15:39:04 +0000
Content-Type: multipart/mixed; boundary="===============6001418725204391320=="
MIME-Version: 1.0
From: Thomas Goirand <zigo@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package manila/1:20.0.0-3
Message-ID: <178724034088.282850.14666640251965637658.reportbug@zbuz.infomaniak.ch>
X-Mailer: reportbug 13.2.0
Date: Thu, 20 Aug 2026 17:39:00 +0200
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============6001418725204391320==
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: manila@packages.debian.org
Control: affects -1 + src:manila
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
[ Reason ]
I'd like to upload Manila manila_20.0.0-3+deb13u1 to address
upstream bug:
https://wiki.openstack.org/wiki/OSSN/OSSN-0103
aka:
https://bugs.debian.org/1143804
[ Impact ]
As per upstream announce:
A non-admin user with a project-scoped token can retrieve another project's
resource lock metadata by supplying a foreign project_id in the GET
/resource-locks request. The API only enforces the all-project policy check
when the all_projects parameter is present; without it, a user-supplied
project_id reaches the database filter unchanged, bypassing project scoping.
[ Tests ]
No new tests in the patch, but the patch itself is super small.
[ Risks ]
Patch is:
+ if project_id is not None:
+ authorize_project_context(context, project_id)
in api.py. That's small enough to be trusted.
[ 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 manila/20.0.0-3+deb13u1
Cheers,
Thomas Goirand (zigo)
--===============6001418725204391320==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="manila_20.0.0-3+deb13u1.debdiff"
diff -Nru manila-20.0.0/debian/changelog manila-20.0.0/debian/changelog
--- manila-20.0.0/debian/changelog 2025-07-12 10:45:46.000000000 +0200
+++ manila-20.0.0/debian/changelog 2026-08-20 17:26:40.000000000 +0200
@@ -1,3 +1,11 @@
+manila (1:20.0.0-3+deb13u1) trixie; urgency=medium
+
+ * OSSN-0103: resource-lock list trusts a foreign project_id filter. Applied
+ upstream patch: "Prevent unauthorized resource locks search".
+ (Closes: #1143804)
+
+ -- Thomas Goirand <zigo@debian.org> Thu, 20 Aug 2026 17:26:40 +0200
+
manila (1:20.0.0-3) unstable; urgency=medium
* Fix uwsgi config.
diff -Nru manila-20.0.0/debian/patches/OSSN-0103_Prevent_unauthorized_resource_locks_search.patch manila-20.0.0/debian/patches/OSSN-0103_Prevent_unauthorized_resource_locks_search.patch
--- manila-20.0.0/debian/patches/OSSN-0103_Prevent_unauthorized_resource_locks_search.patch 1970-01-01 01:00:00.000000000 +0100
+++ manila-20.0.0/debian/patches/OSSN-0103_Prevent_unauthorized_resource_locks_search.patch 2026-08-20 17:26:40.000000000 +0200
@@ -0,0 +1,46 @@
+Author: Carlos da Silva <ces.eduardo98@gmail.com>
+Date: Wed, 22 Jul 2026 21:00:15 -0300
+Description: Prevent unauthorized resource locks search
+ The resource locks mechanism allows filtering locks by project
+ UUIDs. This feature is helpful for identifying the locks and
+ letting their users and/or administrators to quickly filter.
+ .
+ However, in the current code path, we were allowing unauthorized
+ cross-project visibility into resource locks data for users that
+ were not members, admin or readers of a given project.
+ .
+ This change fixes this issue by adding a check to ensure whether
+ the user has authorization to look up resource locks in the
+ project they are supplying as part of the query.
+Bug: https://launchpad.net/bugs/2161287
+Bug-Debian: https://bugs.debian.org/1143804
+Change-Id: I03eebf6bb951583378340365dbf69122f124ffc8
+Signed-off-by: Carlos da Silva <ces.eduardo98@gmail.com>
+Origin: upstream, https://review.opendev.org/c/openstack/manila/+/998569
+Last-Update: 2026-08-06
+
+Index: manila/manila/db/sqlalchemy/api.py
+===================================================================
+--- manila.orig/manila/db/sqlalchemy/api.py
++++ manila/manila/db/sqlalchemy/api.py
+@@ -7700,6 +7700,8 @@ def resource_lock_get_all(context, filte
+ all_projects = filters.get('all_projects') or filters.get('all_tenants')
+ if project_id is None and not all_projects:
+ filters['project_id'] = context.project_id
++ if project_id is not None:
++ authorize_project_context(context, project_id)
+
+ legal_filter_keys = ('id', 'user_id', 'resource_id', 'resource_type',
+ 'lock_context', 'resource_action', 'created_since',
+Index: manila/releasenotes/notes/bug-2161287-prevent-unprivileged-locks-filtering-9f40a2f48475429e.yaml
+===================================================================
+--- /dev/null
++++ manila/releasenotes/notes/bug-2161287-prevent-unprivileged-locks-filtering-9f40a2f48475429e.yaml
+@@ -0,0 +1,7 @@
++---
++security:
++ - |
++ Manila now prevents resource locks to be filtered by a project UUID in
++ case the requester is not an admininistrator or a member of the project
++ they are attempting to look up. For more details, please refer to
++ `Launchpad bug <https://bugs.launchpad.net/manila/+bug/2161287>`.
diff -Nru manila-20.0.0/debian/patches/series manila-20.0.0/debian/patches/series
--- manila-20.0.0/debian/patches/series 2025-07-12 10:45:46.000000000 +0200
+++ manila-20.0.0/debian/patches/series 2026-08-20 17:26:40.000000000 +0200
@@ -1 +1,2 @@
install-missing-files.patch
+OSSN-0103_Prevent_unauthorized_resource_locks_search.patch
--===============6001418725204391320==--
------------=_1795253351-3308433-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1144931-done) by bugs.debian.org; 21 Nov 2026 09:28:04 +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,
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, 66; 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 muffat.debian.org ([2607:f8f0:614:1::1274:33]:38822)
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 1xUhO8-00Drgq-2B
for 1144931-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +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 muffat.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 1xUhO8-004oh7-21
for 1144931-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=sumVBnUmRKWdwSXlD6Keu0YGei
k/gQG1P40pCbIY1PdfccAlMdB8CJYFi2bLH3NeVTJalN4sL4lsd23AMtwkpJ3uDXvGLaaGIWPuCqO
himjMdRZsl5n0EBWZoT9QEAbB+OUpXLofIO/9ewy+UWDg1leNqIIJ7wfzkhBSmNmIsFz0zYewouMw
NsJD9W2V0SCIko03wc+QL6a6Sj9MkTazZsR7JHad5bJU1fN3Mba7iyP3l3zJUcmhDdIlpLMHRcdyi
Dyp2uje3iKCHu3WV5pxstuNRrhvgRg0/s5IoqGsuEC7acNoloC0XjMb5ZHXcnXMX32Fg5bV0ehhIh
mI9wQPzQ==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO7-00000008t0M-0t9D
for 1144931-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +0000
To: 1144931-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-00000008t0M-0t9D@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 24
Version: 13.8
This update was released as part of 13.8.
------------=_1795253351-3308433-0--
Technical Details
Message-ID:
<O1PJD-dfjm-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O1PJD-dfjm-3@gated-at.bofh.it> <NudbH-c7ob-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!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#1144931: marked as done (trixie-pu: package manila/1:20.0.0-3+deb13u1) Date: Sat, 21 Nov 2026 10:40:01 +0100 Message-ID: <O1PJD-dfjm-1@gated-at.bofh.it> References: <O1PJD-dfjm-3@gated-at.bofh.it> <NudbH-c7ob-1@gated-at.bofh.it> X-Mailbox-Line: From debian-release-request@lists.debian.org Sat Nov 21 09:33:50 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 1144931 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Reply-To: 1144931@bugs.debian.org Content-Type: multipart/mixed; boundary="----------=_1795253351-3308433-0" X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189304 List-ID: <debian-release.lists.debian.org> List-URL: <https://lists.debian.org/debian-release/> List-Archive: https://lists.debian.org/msgid-search/handler.1144931.D1144931.17952532843305015.ackdone@bugs.debian.org Approved: robomod@news.nic.it Lines: 263 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 09:29:11 +0000 X-Original-Message-ID: <handler.1144931.D1144931.17952532843305015.ackdone@bugs.debian.org> X-Original-References: <E1xUhO7-00000008t0M-0t9D@coccia.debian.org> <178724034088.282850.14666640251965637658.reportbug@zbuz.infomaniak.ch>