🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel.release
Article #963

Bug#1154618: marked as done (bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1)

#963
From: Debian Bug Tracking System
Date: Fri, 20 Nov 2026 21:50
279 lines
14416 bytes
This is a multi-part message in MIME format...

------------=_1795211102-2803804-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Fri, 20 Nov 2026 21:42:55 +0000
with message-id <8baea3078664c27fb257ba91ca67d8ba682d8b95.camel@adam-barrat=
t.org.uk>
and subject line Re: Bug#1154618: bookworm-pu: package poetry/1.3.2+dfsg-3+=
deb12u1
has caused the Debian Bug report #1154618,
regarding bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1
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
1154618: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1154618
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795211102-2803804-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 20 Nov 2026 21:39:27 +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=-15.0 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,
	HAS_PACKAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 191; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--bookworm,
	0.000-+--autopkgtest
Return-path: <SRS0=e7e0=JK=ubuntu.com=nicoz91@fe-bounces.ubuntu.com>
Received: from smtp.forwardemail.net ([149.28.215.223]:7635)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <SRS0=e7e0=JK=ubuntu.com=nicoz91@fe-bounces.ubuntu.com>)
	id 1xUWKO-00BkOW-0F
	for submit@bugs.debian.org;
	Fri, 20 Nov 2026 21:39:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ubuntu.com;
 h=Content-Transfer-Encoding: Content-Type: Autocrypt: Subject: From: To:
 Content-Language: MIME-Version: Date: Message-ID: CFBL-Address:
 CFBL-Feedback-ID; q=dns/txt; s=fe-953a8a3ca9; t=1795210766;
 bh=sUcK6Y2e3cps7Jy2pQI1pAqvIMdhYN5tOK1OpF8MBCU=;
 b=IczuOLwRhQvDDUMLBjkZplFAM8N3p049OGkFT5xxO1ZxnPvn78HvNFJFElQbaPwJlgf3s9KQ7
 FX0s8ITxDiu5U1LJSmRebgZn4bnWO5j2dB1QnPAxmvf3wLzcdQ3S1PedG8ZaThIxBRHSRrlCqsI
 cogxZgV+fssVNRpBQFlSeu5+FhXD/6rEVu19RJa8I7T5g74gm7T0VpoVQKSF6K/WXGQHUVYh/Xm
 bx3T84ujXr1N5aurQa9gh03fRJ6PrxIfWfhz9Zmx0awM3yUwENOGcZJMGijrkvlc8SJBhJY3gJp
 r5ZJ+7s2+wdRRNphMJ2n0A05zA15JF8MINFZzR8yan3w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forwardemail.net;
 h=Content-Transfer-Encoding: Content-Type: Autocrypt: Subject: From: To:
 Content-Language: MIME-Version: Date: Message-ID: CFBL-Address:
 CFBL-Feedback-ID; q=dns/txt; s=default; t=1795210766;
 bh=sUcK6Y2e3cps7Jy2pQI1pAqvIMdhYN5tOK1OpF8MBCU=;
 b=XXld2xrv6CckWgGG7/CWHibckMAnSRTdnUvqjtbf+fN1yucI/cToi7LPiEPpFMi27wVKJuSSr
 MrzrNFSkCslRXTIdWXYNNVAt+SM1ovJ/wpNpYbP1/hDJ9E/cYlYtalZrYzpyWQhQEKd3nWP5/Wb
 pKjbf+feeR2U4T8Wn0LhLdk=
CFBL-Feedback-ID: 6b00bd1920a6350eae16e3ac:ecfdcc762baa376a0bd9394a663cb811
CFBL-Address: abuse@forwardemail.net; report=arf
X-Forward-Email-ID: 6b00bd1920a6350eae16e3ac
X-Forward-Email-Sender: rfc822; nicoz91@ubuntu.com, smtp.forwardemail.net,
 149.28.215.223
X-Forward-Email-Version: 2.19.33
X-Forward-Email-Website: https://forwardemail.net
X-Complaints-To: abuse@forwardemail.net
X-Report-Abuse: abuse@forwardemail.net
X-Report-Abuse-To: abuse@forwardemail.net
Message-ID: <ec5c4790-ac6d-4fb1-98eb-496c43188a76@ubuntu.com>
Date: Fri, 20 Nov 2026 22:35:16 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, it-IT
To: submit@bugs.debian.org
From: Nico Della Torre <nicoz91@ubuntu.com>
Subject: bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1
Autocrypt: addr=nicoz91@ubuntu.com; keydata=
 xjMEatB+7BYJKwYBBAHaRw8BAQdARGh9r4fLjii90C49f7Hy+OY6iY02h1ZlFWQgmN8Scz3N
 JU5pY28gRGVsbGEgVG9ycmUgPG5pY296OTFAdWJ1bnR1LmNvbT7ClgQTFgoAPhYhBARW6Lwd
 wLAn741mppVJN4f28Z8DBQJq8yeKAhsDBQkD5YoEBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheA
 AAoJEJVJN4f28Z8DWqUA/24PIN/kDXrN6cA8r13ywpOEOGsYMdc12kFXXIsniKh4AQCthSwV
 pBRQuJrSYHlN/7faOT0n8jn+1GUtQ6TV0PgXB844BGrQf1gSCisGAQQBl1UBBQEBB0D3QetI
 xBKpMuLZXrjOVS2EVHIt8xvVrvlYNWpwBa3tAAMBCAfCfgQYFgoAJhYhBARW6LwdwLAn741m
 ppVJN4f28Z8DBQJq8yeKAhsMBQkD5YoEAAoJEJVJN4f28Z8D7KEBAPKjh2lHhXDErPMnOW1z
 NyNUrytBrPkjoFWwbO2UI/klAQCw/+abM7/W8h8ZXYQqStVOOkJSG1Tm9aSqroDyjDCIAQ==
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Delivered-To: submit@bugs.debian.org

Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: poetry@packages.debian.org

[ Reason ]
CVE-2026-41140: poetry extracts sdist tarballs without path traversal
protection on Python versions lacking tarfile.data_filter. bookworm ships
Python 3.11.2, so a crafted sdist can write files outside the extraction
directory (via "../", symlinks or hardlinks) during lock/add/install.
The security team marked it no-dsa (minor issue).

[ Impact ]
A malicious sdist can overwrite arbitrary files writable by the user
running poetry, before any build step is executed.

[ Tests ]
Built in a bookworm chroot: the build-time test suite passes (1047 passed).
Tested in a bookworm chroot with crafted sdists (path traversal, outside
symlink, outside hardlink): with 1.3.2+dfsg-3 a file is written outside
the extraction directory, with the new version all are refused, while a
regular sdist is still extracted.
autopkgtest: 1045 passed, 2 failed (test_info_setup_complex*); the same
two tests fail with 1.3.2+dfsg-3, so they are not a regression.

[ Risks ]
Low. The patch is a backport of the upstream fix (e512e7fc, released in
2.3.4) and only touches the tar extraction in inspection/info.py; zip
handling is unchanged.

[ 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

[ Changes ]
   * Backport upstream commit e512e7fc: refuse to write files outside the
     target directory during sdist extraction (CVE-2026-41140)

[ Other info ]
Already fixed in trixie (2.1.2+dfsg-1+deb13u1) and unstable (2.3.4-4).

-- 
⠀⢀⣴⣾⠿⠿⣿⣶⣄⠀   Nico Della Torre (nicoz)
⢠⣿⠋⠀⣠⢄⠀⠙⣿⣇   Debian Maintainer · Ubuntu
⢾⡇⠀⣾⠀⠀⠀⢀⣿⡟   https://wiki.debian.org/nicoz
⠘⣇⠀⠘⢷⣶⣶⣾⠟⠁   IRC: nicoz @ OFTC, Libera.Chat
⠀⠈⠣⢄⠀⠀⠀⠀⠀⠀   GPG: 0456 E8BC 1DC0 B027 EF8D  66A6 9549 3787 F6F1 9F03

------------=_1795211102-2803804-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1154618-done) by bugs.debian.org; 20 Nov 2026 21:42:58 +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=-7.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 138; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--trixie, 0.000-+--bookworm,
	0.000-+--autopkgtest
Return-path: <adam@adam-barratt.org.uk>
Received: from adsbarratt.vs.mythic-beasts.com ([2a00:1098:86:f9::1]:57552)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <adam@adam-barratt.org.uk>)
	id 1xUWNn-00Bktd-27
	for 1154618-done@bugs.debian.org;
	Fri, 20 Nov 2026 21:42:58 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=adam-barratt.org.uk; s=ab20190809; h=MIME-Version:Content-Transfer-Encoding
	:Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender:
	Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
	Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
	List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=qhwcphKHUcC83slzglqBSodTV9lYqsxCWDVzrIORS+w=; b=ZGcf2X4ARGcIMv6cqzOgPaHE64
	PCUhM2XhBqUyqg4LJA8a2/4xa+Ix60aRIBzXR2iNoxVQbGS1ptb3VHE0vXC5MviGJu6re6+izuZmh
	XW0L5TKtheTPL0+AYo/d67S06hpYo54HLndsbsemQUcSp0vdbODbszizJn8+W0IEcd8sbryF8g3Zo
	bjDf3D6LN2PSiCKJXkzjAQ6RKeQayvKW60xa2w01GKCnQ+D70VXHihX8+Xe7hEeHC4tmg9nXHU3F3
	ji9i0nSiLGkM6VIg0c1fy88AH7Vli4rAJzI2EmT1QnzIqSKH0r7XMNT6r2qyR+DCd6YDJ8nld0xIp
	XiVBF7lg==;
Received: from bb.adam-barratt.org.uk ([188.64.38.69]:38308 helo=darzee)
	by adsbarratt.vs.mythic-beasts.com with esmtps (TLS1.3:ECDHE_SECP256R1__ECDSA_SECP256R1_SHA256__AES_256_GCM:256)
	(Exim 4.96 #2 (Debian))
	(envelope-from <adam@adam-barratt.org.uk>)
	id 1xUWNk-007VdP-09;
	Fri, 20 Nov 2026 21:42:56 +0000
Received: from localhost ([::1])
	by darzee with esmtp (Exim 4.96)
	(envelope-from <adam@adam-barratt.org.uk>)
	id 1xUWNi-005VHB-2N;
	Fri, 20 Nov 2026 21:42:55 +0000
Message-ID: <8baea3078664c27fb257ba91ca67d8ba682d8b95.camel@adam-barratt.org.uk>
Subject: Re: Bug#1154618: bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1
From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Nico Della Torre <nicoz91@ubuntu.com>, 1154618-done@bugs.debian.org
Date: Fri, 20 Nov 2026 21:42:55 +0000
In-Reply-To: <ec5c4790-ac6d-4fb1-98eb-496c43188a76@ubuntu.com>
References: <ec5c4790-ac6d-4fb1-98eb-496c43188a76@ubuntu.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4-2+deb12u1 
MIME-Version: 1.0
X-ADSB-Scan-Signature: d6f7e34e30b1f75ed4b51923cd846ed7

Duplicate of #1154617 (which I just closed)

On Fri, 2026-11-20 at 22:35 +0100, Nico Della Torre wrote:
> Package: release.debian.org
> Severity: normal
> Tags: bookworm
> User: release.debian.org@packages.debian.org
> Usertags: pu
> X-Debbugs-Cc: poetry@packages.debian.org
>=20
> [ Reason ]
> CVE-2026-41140: poetry extracts sdist tarballs without path traversal
> protection on Python versions lacking tarfile.data_filter. bookworm
> ships
> Python 3.11.2, so a crafted sdist can write files outside the
> extraction
> directory (via "../", symlinks or hardlinks) during lock/add/install.
> The security team marked it no-dsa (minor issue).
>=20
> [ Impact ]
> A malicious sdist can overwrite arbitrary files writable by the user
> running poetry, before any build step is executed.
>=20
> [ Tests ]
> Built in a bookworm chroot: the build-time test suite passes (1047
> passed).
> Tested in a bookworm chroot with crafted sdists (path traversal,
> outside
> symlink, outside hardlink): with 1.3.2+dfsg-3 a file is written
> outside
> the extraction directory, with the new version all are refused, while
> a
> regular sdist is still extracted.
> autopkgtest: 1045 passed, 2 failed (test_info_setup_complex*); the
> same
> two tests fail with 1.3.2+dfsg-3, so they are not a regression.
>=20
> [ Risks ]
> Low. The patch is a backport of the upstream fix (e512e7fc, released
> in
> 2.3.4) and only touches the tar extraction in inspection/info.py; zip
> handling is unchanged.
>=20
> [ Checklist ]
> =C2=A0=C2=A0 [x] *all* changes are documented in the d/changelog
> =C2=A0=C2=A0 [x] I reviewed all changes and I approve them
> =C2=A0=C2=A0 [x] attach debdiff against the package in (old)stable
> =C2=A0=C2=A0 [x] the issue is verified as fixed in unstable
>=20
> [ Changes ]
> =C2=A0=C2=A0 * Backport upstream commit e512e7fc: refuse to write files o=
utside
> the
> =C2=A0=C2=A0 =C2=A0 target directory during sdist extraction (CVE-2026-41=
140)
>=20
> [ Other info ]
> Already fixed in trixie (2.1.2+dfsg-1+deb13u1) and unstable (2.3.4-
> 4).
>=20
------------=_1795211102-2803804-0--
Technical Details
Message-ID: <O1EEx-d9qx-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O1EEx-d9qx-9@gated-at.bofh.it> <O1EEx-d9qx-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!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#1154618: marked as done (bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1)
Date: Fri, 20 Nov 2026 22:50:01 +0100
Message-ID: <O1EEx-d9qx-7@gated-at.bofh.it>
References: <O1EEx-d9qx-9@gated-at.bofh.it> <O1EEx-d9qx-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-release-request@lists.debian.org  Fri Nov 20 21:45:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Amavis-Spam-Status: No, score=-0.5 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, BODY_8BITS=1.5, 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 1154618
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: bookworm
Reply-To: 1154618@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1795211102-2803804-0"
X-Mailing-List: <debian-release@lists.debian.org> archive/latest/189290
List-ID: <debian-release.lists.debian.org>
List-URL: <https://lists.debian.org/debian-release/>
List-Archive: https://lists.debian.org/msgid-search/handler.1154618.D1154618.17952109782801908.ackdone@bugs.debian.org
Approved: robomod@news.nic.it
Lines: 279
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 20 Nov 2026 21:45:02 +0000
X-Original-Message-ID: <handler.1154618.D1154618.17952109782801908.ackdone@bugs.debian.org>
X-Original-References: <8baea3078664c27fb257ba91ca67d8ba682d8b95.camel@adam-barratt.org.uk>
 <ec5c4790-ac6d-4fb1-98eb-496c43188a76@ubuntu.com>