FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')` by ambv · Pull Request #135037 · python/cpython · GitHub

/ cpython Public

gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing') - #135037

Merged
Yhg1s merged 20 commits into
python:mainfrom
ambv:gh-135034
Jun 3, 2025
Merged

gh-135034: Normalize link targets in tarfile, add os.path.realpath(strict='allow_missing')#135037
Yhg1s merged 20 commits into
python:mainfrom
ambv:gh-135034

Conversation

ambv commented Jun 2, 2025
edited by encukou
Loading

Copy link
Copy Markdown
Contributor

Addresses CVEs 2024-12718, 2025-4138, 2025-4330, and 2025-4517.

[edit @encukou]: Also addresses CVE-2025-4435. Sorry for leaving that out of the commit messages.

Co-authored-by: Petr Viktorin encukou@gmail.com
Signed-off-by: Łukasz Langa lukasz@langa.pl


📚 Documentation preview 📚: https://cpython-previews--135037.org.readthedocs.build/

…path(strict='allow_missing')`

Addresses CVEs 2024-12718, 2025-4138, 2025-4330, and 2025-4517.

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Signed-off-by: Łukasz Langa <lukasz@langa.pl>

Copy link
Copy Markdown
Member

See also #71189.

Comment thread Lib/test/test_tarfile.py Outdated
ambv and others added 3 commits June 2, 2025 22:10
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Comment thread Lib/test/test_tarfile.py Outdated
Comment thread Lib/test/test_ntpath.py Outdated

encukou commented Jun 2, 2025

Copy link
Copy Markdown
Member

See also #71189.

To align with this, there'd be a ntpath.ALLOW_MISSING singleton rather than an 'allow_missing' string.
That's possible, of course. It can catch typos. But I don't think it's worth having to import an extra name.

encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 2, 2025

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit 5af66c6 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135037%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 2, 2025
encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 3, 2025
This was referenced Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL