Your message dated Fri, 20 Nov 2026 21:41:08 +0000
with message-id
<cded7446f21dbcad11216d2a72d015cc153644e6.ca...@adam-barratt.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 [email protected]
immediately.)
--
1154617: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154617
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bookworm
User: [email protected]
Usertags: pu
X-Debbugs-Cc: [email protected]
[ 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).
--- End Message ---
--- Begin Message ---
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
--- End Message ---