Thread View: linux.debian.bugs.dist
1 messages
1 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).
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