Thread View: linux.debian.devel.release
2 messages
2 total messages
Started by Nico Della Torre
Fri, 20 Nov 2026 21:40
Bug#1154617: bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1
Author: Nico Della Torre
Date: Fri, 20 Nov 2026 21:40
Date: Fri, 20 Nov 2026 21:40
44 lines
4576 bytes
4576 bytes
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).
Bug#1154617: marked as done (bookworm-pu: package poetry/1.3.2+dfsg-3+deb12u1)
Author: Debian Bug Tracking System
Date: Fri, 20 Nov 2026 21:50
Date: Fri, 20 Nov 2026 21:50
225 lines
12532 bytes
12532 bytes
This is a multi-part message in MIME format... ------------=_1795210981-2801938-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your message dated Fri, 20 Nov 2026 21:41:08 +0000 with message-id <cded7446f21dbcad11216d2a72d015cc153644e6.camel@adam-barrat= t.org.uk> and subject line Re: Bug#1154617: bookworm-pu: package poetry/1.3.2+dfsg-3+= deb12u1 has caused the Debian Bug report #1154617, 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 1154617: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1154617 Debian Bug Tracking System Contact owner@bugs.debian.org with problems ------------=_1795210981-2801938-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 20 Nov 2026 21:36:54 +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.1 required=4.0 tests=BAYES_00, BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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, 24; hammy, 150; neutral, 113; 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]:11925) 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 1xUWHu-00Bjiw-0Y for submit@bugs.debian.org; Fri, 20 Nov 2026 21:36:54 +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=1795210611; bh=6xYgJUU/kiFZO7S1u0/1lFXfS/LifJgK/anWr8xJeRk=; b=cf5EgkND2UuOU65YZQKvC6HetoTzQ/pihnEfuudWKpAIsfLb8IwmYY1TpUfa+sovDGNOlbqbJ z9w0OC9r/GkjV05kg+hJ9EQ6V4hC9Kku5HW8B5kg3bfEZJgYyRnwqnTbJWJoVxCIE0XKcOeoLz2 eIqg0NbmfOtekEfhistT0QS+vXhIsnMcTWo4XPmPRsKO1Lp4WLfPsVkxU7iGAdYjaXvyAeJnOnH GvTp+pemwuOFgOfp/Cgfo9FcVhie0dk2Pk7iIxCFuHPTBdL7KxGTDoXQlfPGmXWfCDI+wENHUi4 ToSDeB3mL4AVho+18ovqskjxnHoT+ghVyK5EJplWRLDA== 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=1795210611; bh=6xYgJUU/kiFZO7S1u0/1lFXfS/LifJgK/anWr8xJeRk=; b=b9d5htMydzJSFT67W4HdrsnIQLwpm+41EKMHA4fQVqbtv31agtfDKoZImi/fjMTJLk8pjqrfI M5msc76DU3T0lAp2A4WFfoupkwslfc1qI/XB8IycMqHAa4gvFJY17+ORWOLSiocEeL0RDV1W5rj gyaxx0FIjTS3aBX8YuZkEDc= CFBL-Feedback-ID: 6b00bd6f20a6350eae16eaaa:f0b5045bd2b6b8421483f3479ec5eab8 CFBL-Address: abuse@forwardemail.net; report=arf X-Forward-Email-ID: 6b00bd6f20a6350eae16eaaa 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: <35108a14-7c8f-4b8b-9d71-fa8b4983b911@ubuntu.com> Date: Fri, 20 Nov 2026 22:36:43 +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). ------------=_1795210981-2801938-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1154617-done) by bugs.debian.org; 20 Nov 2026 21:41:18 +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, 16; hammy, 141; neutral, 27; spammy, 0. spammytokens: hammytokens:0.000-+--bookworm, 0.000-+--H*u:Evolution, 0.000-+--H*F:D*adam-barratt.org.uk, 0.000-+--H*rp:D*adam-barratt.org.uk, 0.000-+--deb12u1 Return-path: <adam@adam-barratt.org.uk> Received: from adsbarratt.vs.mythic-beasts.com ([2a00:1098:86:f9::1]:58156) 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 1xUWMA-00Bkhn-2e for 1154617-done@bugs.debian.org; Fri, 20 Nov 2026 21:41:18 +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=AymRK0lnd/SlZhEsD3F26vm1Df2DGRsw5nr862NEwr0=; b=Z7GKbJaXm4xjvW+tnIKlaZf7nx eQ5KGUNVoMdGXBQKq07hD93LihnKH4VtatJ4GTRH5vtLyeN7wWIEghXCi1XTkUJ9UISaNYevrJMcZ 48QAw+KL80PP1lGJLucwwTv1yKvRKDfuTgpC/rbh452+OMBccbZBBgWIxivKxyFXLezNP3yVQoezs 9+++8fNqYlRVcxv8ByoLd7zcYMZLk/kfDt/UISiO0R1d16IhEAkP2Cg5nz2lSaPQWZTr9jH4Op82K L4Po2WKGpAAJA8AxrSD0BPOYlt9oahQa1Ka+P4mxIp+VhFs3yONEpwUEVqppmSmj2hANcwsUVqVGW 2VsEM0aA==; Received: from bb.adam-barratt.org.uk ([188.64.38.69]:53034 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 1xUWM1-007Vcl-15; Fri, 20 Nov 2026 21:41:09 +0000 Received: from localhost ([::1]) by darzee with esmtp (Exim 4.96) (envelope-from <adam@adam-barratt.org.uk>) id 1xUWM0-005V9h-01; Fri, 20 Nov 2026 21:41:08 +0000 Message-ID: <cded7446f21dbcad11216d2a72d015cc153644e6.camel@adam-barratt.org.uk> Subject: Re: Bug#1154617: 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>, 1154617-done@bugs.debian.org Date: Fri, 20 Nov 2026 21:41:08 +0000 In-Reply-To: <35108a14-7c8f-4b8b-9d71-fa8b4983b911@ubuntu.com> References: <35108a14-7c8f-4b8b-9d71-fa8b4983b911@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: 6aec78ef7d8692fe84b2be37e73276c8 On Fri, 2026-11-20 at 22:36 +0100, Nico Della Torre wrote: > 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 Release Team haven't managed updates to bookworm for a few months now. Please co-ordinate any potential update with the LTS Team. Regards, Adam ------------=_1795210981-2801938-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads