🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1153899: trixie-pu: package dpkg/1.22.23

#4378
From: Guillem Jover
Date: Fri, 13 Nov 2026 14:10
87 lines
5099 bytes
Hi!

On Fri, 2026-11-13 at 14:45:52 +0100, Guillem Jover wrote:
> Package: release.debian.org
> Severity: normal
> Tags: trixie
> X-Debbugs-Cc: dpkg@packages.debian.org
> Control: affects -1 + src:dpkg
> User: release.debian.org@packages.debian.org
> Usertags: pu

> [ Reason ]
> 
> This update includes several (low severity) security fixes, several
> memory leak fixes, and a regression in the Perl API.
> 
> [ Impact ]
> 
> The security issues are either a potential DoS vector after crashing
> dpkg-deb due to bogus data parsing and leaving temporary files behind
> (and fill up disk on an automated system for example), or directory
> traversal bugs when handling either .deb or .dsc untrusted packages
> (the latter could be used to exfiltrate secrets from automated CI or
> testing systems for example).
> 
> The memory leaks, well leak. :)
> 
> The Perl API breakage is a regression that changed the semantics of the
> comparison functions, which then started giving wrong results.
> 
> [ Tests ]
> 
> The changes that are only in the latest dpkg in sid, are either trivial
> (but still tested manually), or have tests covering their behavior.
> 
> [ Risks ]
> 
> Most of the included fixes have been in sid for a long while now, with
> no reported regressions. The new changes that are only in sid, as the
> potentially riskier ones, but as mentioned above should either be
> trivial or be covered by tests.

Ah, had forgotten. For the dpkg-deb symlink directory traversal issue, I
had initially implemented a fix to completely ban symlinks in control.tar
.deb members, but after pondering a bit, it looked too risky for a stable
update as a potential source of regressions on out of archive packages.
So I've gone instead with disallowing directory traversal for now, and
will consider banning them with a deprecation transition starting in sid,
as mentioned in the relevant commit message (in the ChangeLog).

> Also I'm sorry this came this late, as this means the newest changes
> are not yet in testing, so I would understand if you do not feel
> comfortable accepting this. The reason is a combination of the
> changes included not fitting entirely in a security update, me not
> having found the needed blocks of time, and when deciding it would
> be better to handle this via a stable update, not wanting to publish
> this too much in advance (even if the security implications are not
> high), and then getting a new security report at the beginning of this
> week, and then the Perl transition starting and not being able to upload
> dpkg to sid at that time either. :)
> 
> [ Checklist ]
> 
>   [√] *all* changes are documented in the d/changelog
>   [√] I reviewed all changes and I approve them
>   [√] attach debdiff against the package in (old)stable
>   [√] the issue is verified as fixed in unstable
> 
> [ Changes ]
> 
> The detailed explanation of all the changes is included in the ChangeLog
> in the debdiff.
> 
> [ Other info ]
> 
> As usual, I've included the full debdiff, and the following can be
> used to filter all autogenerated stuff from it:
> 
>   ,---
>   xzcat dpkg-1.22.22-1.22.23.debdiff.xz \
>     | filterdiff -x '*.po' -x '*.pot' -x '*.in' -x '*/man/*/*.pod' \
>                  -x '*/configure' -x '*/build-aux/*' -x '*/src/at/*' \
>     | less
>   `---

Thanks,
Guillem
Technical Details
Message-ID: <NZ08x-bDZx-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NYZPb-bDJk-5@gated-at.bofh.it> <NYZPb-bDJk-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Guillem Jover <guillem@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release
Subject: Bug#1153899: trixie-pu: package dpkg/1.22.23
Date: Fri, 13 Nov 2026 15:10:01 +0100
Message-ID: <NZ08x-bDZx-1@gated-at.bofh.it>
References: <NYZPb-bDJk-5@gated-at.bofh.it> <NYZPb-bDJk-5@gated-at.bofh.it>
X-Original-To: 1153899@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 13 14:03:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Guillem Jover <guillem@debian.org>, 1153899@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-release@lists.debian.org
X-Debian-Pr-Message: followup 1153899
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002394
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 87
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 13 Nov 2026 15:00:17 +0100
X-Original-Message-ID: <avcX8R9NR4OlTmA1@thunder.hadrons.org>
X-Original-References: <avcUkAmFCBFaAjXN@thunder.hadrons.org> <avcUkAmFCBFaAjXN@thunder.hadrons.org>