🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1150479: trixie-pu: package mongo-c-driver/1.30.4-1+deb13u4

#301
From: Roberto C. Sanchez
Date: Sat, 10 Oct 2026 02:00
103 lines
5909 bytes
This is a multi-part MIME message sent by reportbug.


--===============4935523453862371176==
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: 1150302@bugs.debian.org
User: release.debian.org@packages.debian.org
Usertags: pu

[ Reason ]
The patch that I backported for CVE-2026-81524 had a defect, as reported
in #1150302. This upload is a targeted fix of only that defect. Based on
the feedback from Emilio, I have gone ahead and uploaded with a target
distribution of 'trixie' and I would like to see this update published
as a SUA rather than waiting for the next point release. Please see the
discussion in #1150302 for details.

[ Impact ]
Users have the possibility of experiencing failures in applications that
they have built against libmongoc-dev.

[ Tests ]
The reporter of #1150302 has confirmed the correctness of the fix, and I
have also reviewed the change and I agree that the fix is correct.

[ Risks ]
The fix is trivial, and presents an extremely low risk of further
regression.

[ 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
  [*] the issue is verified as fixed in unstable

The issue does not exist in unstable, as the defect was introduced while
backporting the fix.

[ Changes ]
Fix the ordering of function parameters so that the declaration and the
definition have the same function ordering.

--===============4935523453862371176==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="mongo-c-driver_1.30.4-1+deb13u3_1.30.4-1+deb13u4.debdiff"

diff -Nru mongo-c-driver-1.30.4/debian/changelog mongo-c-driver-1.30.4/debian/changelog
--- mongo-c-driver-1.30.4/debian/changelog	2026-08-29 11:06:27.000000000 -0400
+++ mongo-c-driver-1.30.4/debian/changelog	2026-10-09 21:12:28.000000000 -0400
@@ -1,3 +1,10 @@
+mongo-c-driver (1.30.4-1+deb13u4) trixie; urgency=medium
+
+  * Follow up to fix CVE-2026-81524: correct parameter ordering in function
+    definition. Thanks to Jeevan Chalke for the patch. (Closes: #1150302)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Fri, 09 Oct 2026 21:12:28 -0400
+
 mongo-c-driver (1.30.4-1+deb13u3) trixie; urgency=medium
 
   * Fix CVE-2026-81524: validate db and collection names
diff -Nru mongo-c-driver-1.30.4/debian/patches/0009_CVE-2026-81524.patch mongo-c-driver-1.30.4/debian/patches/0009_CVE-2026-81524.patch
--- mongo-c-driver-1.30.4/debian/patches/0009_CVE-2026-81524.patch	2026-08-29 11:06:27.000000000 -0400
+++ mongo-c-driver-1.30.4/debian/patches/0009_CVE-2026-81524.patch	2026-10-09 21:12:28.000000000 -0400
@@ -32,22 +32,22 @@
                     const bson_t *opts,
 --- a/src/libmongoc/src/mongoc/mongoc-aggregate.c
 +++ b/src/libmongoc/src/mongoc/mongoc-aggregate.c
-@@ -185,6 +185,7 @@
-  *       information on how to build aggregation pipelines.
+@@ -186,6 +186,7 @@
   *
   * Parameters:
-+ *       @db: Database name used. Separated from @ns to validate.
   *       @ns: Namespace (or database name for database-level aggregation).
++ *       @db: Database name used. Separated from @ns to validate.
   *       @flags: Bitwise or of mongoc_query_flags_t or 0.
   *       @pipeline: A bson_t containing the pipeline request. @pipeline
-@@ -210,6 +211,7 @@
- 
+  *                  will be sent as an array type in the request.
+@@ -211,6 +212,7 @@
  mongoc_cursor_t *
  _mongoc_aggregate (mongoc_client_t *client,
-+                   const char *db,
                     const char *ns,
++                   const char *db,
                     mongoc_query_flags_t flags,
                     const bson_t *pipeline,
+                    const bson_t *opts,
 @@ -237,6 +239,7 @@
  
     BSON_ASSERT (client);

--===============4935523453862371176==--
Technical Details
Message-ID: <NMuxr-4B5D-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: "Roberto C. Sanchez" <roberto@connexer.com>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release
Subject: Bug#1150479: trixie-pu: package mongo-c-driver/1.30.4-1+deb13u4
Date: Sat, 10 Oct 2026 04:00:01 +0200
Message-ID: <NMuxr-4B5D-5@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 10 01:57:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.651
Reply-To: "Roberto C. Sanchez" <roberto@connexer.com>, 1150479@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: 1150302@bugs.debian.org, debian-release@lists.debian.org
X-Debian-Pr-Message: report 1150479
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
Content-Type: multipart/mixed; boundary="===============4935523453862371176=="
MIME-Version: 1.0
X-Mailer: reportbug 13.2.0
X-Greylist: delayed 324 seconds by postgrey-1.37 at buxtehude; Sat, 10 Oct 2026 01:55:45 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995985
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 103
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 09 Oct 2026 21:50:19 -0400
X-Original-Message-ID: <179159701930.2396268.15809560239725769200.reportbug@miami.connexer.com>