<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/tarfile.py, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tarfile.py?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/tarfile.py?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2026-10-01T00:37:43Z</updated>
<entry>
<title>[3.10] gh-155999: `tarfile`: handle a member that leaves the destination but comes back (GH-156000) (#156046)</title>
<updated>2026-10-01T00:37:43Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-10-01T00:37:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc32a709ee8b8134afa59d48fa29e6d4c26ebdd9'/>
<id>urn:sha1:fc32a709ee8b8134afa59d48fa29e6d4c26ebdd9</id>
<content type='text'>
(cherry picked from commit 97688346ada2df3e5b9c279348862c3d64ab0823)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-157265: tarfile: Honor None result of filter for link fallbacks (GH-157266) (#157304)</title>
<updated>2026-10-01T00:29:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-10-01T00:29:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c1f106d240c4ffcb3608ed0a20e8aba6c865f6d3'/>
<id>urn:sha1:c1f106d240c4ffcb3608ed0a20e8aba6c865f6d3</id>
<content type='text'>
* gh-157265: tarfile: Honor None result of filter for link fallbacks (GH-157266)

(cherry picked from commit fb2f0bbc3b35264f09cc2cb2934b7987527a6bc2)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;

* gh-157265: Adjust test for Windows (GH-157334)

gh-157266: Adjust test for Windows

On Windows (no symlinks, no hardlinks), the behaviour is
the same as without the fix in GH-157266:
- a/t/dummy is extracted
- b/ is extracted
- c/ is *not* created (the target, a/t, is not in the archive)
- c/escape: c/ is created; escape is skipped (target,
   c/../../link_here, is not in archive)
- c is not recreated as a directory
- boom is not created (target is c/escape, which falls back to
  ..\..\link_here, which does not exist in archive)

* Remove @symlink_test (which is there for WASI in 3.11+)

---------

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;</content>
</entry>
<entry>
<title>[3.10] gh-157190: Fix tarfile `data`/`tar` filter bypass via hard link to a symlink (GH-157191) (#158457)</title>
<updated>2026-09-29T23:40:29Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2026-09-29T23:40:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=197663d63afed27f66e10e23c194e8a634e60913'/>
<id>urn:sha1:197663d63afed27f66e10e23c194e8a634e60913</id>
<content type='text'>
The backport to 3.13 and below includes a NEWS entry.


(cherry picked from commit b8f23e307097552eaea2604383a12ab280520d0d)

Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;</content>
</entry>
<entry>
<title>[3.10] gh-151558: Fix symlink escape via `tarfile` hardlink-extraction fallback (GH-151559) (#152080)</title>
<updated>2026-08-10T19:53:54Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-10T19:53:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0f852b3f07dd8e71e40326a51c02afbf16a42cc5'/>
<id>urn:sha1:0f852b3f07dd8e71e40326a51c02afbf16a42cc5</id>
<content type='text'>
gh-151558: Fix symlink escape via `tarfile` hardlink-extraction fallback (GH-151559)

(cherry picked from commit 27dd970bf6b17ebca7c8ed486a40ab043ed7af8f)</content>
</entry>
<entry>
<title>[3.10] gh-151987: Pass filter_function to TarFile._extract_one() during .extract() (GH-151988) (#152613)</title>
<updated>2026-07-11T17:45:05Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-07-11T17:45:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cf23b9153181062150d061468b6d24af33fe214f'/>
<id>urn:sha1:cf23b9153181062150d061468b6d24af33fe214f</id>
<content type='text'>
* gh-151987: Pass filter_function to TarFile._extract_one() during .extract() (GH-151988)

(cherry picked from commit 7ccdbaba2c54250a70d7f25632152df7655a5e0a)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;

* Remove newer test helpers

3.11+ has more granular platform support, mostly for WASI.
Use the 3.10 idioms instead:

- @symlink_test is a no-op on non-WASI platforms
- can_chmod is approximated by "not win32" elsewhere in test_tarfile

---------

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;</content>
</entry>
<entry>
<title>[3.10] gh-149486: tarfile.data_filter: validate written link target (GH-149487) (#153180)</title>
<updated>2026-07-06T19:42:04Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-07-06T19:42:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c063191cb7f9170f9565e305f8aa2b79ab2bf609'/>
<id>urn:sha1:c063191cb7f9170f9565e305f8aa2b79ab2bf609</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[3.10] gh-151981: Make tarfile._Stream.seek break at EOF (GH-151982) (#151996)</title>
<updated>2026-06-27T17:32:34Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-06-27T17:32:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eb63c0f94dfcbea7fda8eab6213818e134d67192'/>
<id>urn:sha1:eb63c0f94dfcbea7fda8eab6213818e134d67192</id>
<content type='text'>
gh-151981: Make tarfile._Stream.seek break at EOF (GH-151982)
(cherry picked from commit f50bf13566189c8d0ce5a814f33eff3d89951896)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;</content>
</entry>
<entry>
<title>[3.10] gh-141707: Skip TarInfo DIRTYPE normalization during GNU long name handling (#145816)</title>
<updated>2026-04-30T21:18:52Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-04-30T21:18:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=72dde1016493c52abe857fc4a7bf6c40138b4114'/>
<id>urn:sha1:72dde1016493c52abe857fc4a7bf6c40138b4114</id>
<content type='text'>
gh-141707: Skip TarInfo DIRTYPE normalization during GNU long name handling
(cherry picked from commit 42d754e34c06e57ad6b8e7f92f32af679912d8ab)

Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;
Co-authored-by: Eashwar Ranganathan &lt;eashwar@eashwar.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027) (#137644)</title>
<updated>2025-09-02T18:20:27Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2025-09-02T18:20:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57f5981d6260ed21266e0c26951b8564cc252bc2'/>
<id>urn:sha1:57f5981d6260ed21266e0c26951b8564cc252bc2</id>
<content type='text'>
gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027)


(cherry picked from commit 7040aa54f14676938970e10c5f74ea93cd56aa38)

Co-authored-by: Alexander Urieles &lt;aeurielesn@users.noreply.github.com&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>[3.10] gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')` (GH-135037) (#135070)</title>
<updated>2025-06-03T17:02:29Z</updated>
<author>
<name>T. Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2025-06-03T17:02:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9c1110ef6652687d7c55f590f909720eddde965a'/>
<id>urn:sha1:9c1110ef6652687d7c55f590f909720eddde965a</id>
<content type='text'>
Addresses CVEs 2024-12718, 2025-4138, 2025-4330, and 2025-4517.
(cherry picked from commit 3612d8f51741b11f36f8fb0494d79086bac9390a)
(cherry picked from commit c358142cab7ce621a2745262a90df967b357f61c)
(cherry picked from commit 371b4eaadcd5846d79af8f7912e4320f9cd9fae4)

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
Signed-off-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;
Co-authored-by: Adam Turner &lt;9087854+AA-Turner@users.noreply.github.com&gt;
Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
</content>
</entry>
</feed>
