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

[3.14] gh-138158: Use the `"data"` tarfile extraction filter in `Tools/ssl/multissltests.py` (GH-138147) by miss-islington · Pull Request #138262 · python/cpython · GitHub

Repository navigation

[3.14] gh-138158: Use the "data" tarfile extraction filter in Tools/ssl/multissltests.py (GH-138147) - #138262

Merged
hugovk merged 1 commit into
python:3.14from
miss-islington:backport-31d3836-3.14
Aug 31, 2025
Merged

hugovk merged 1 commit into
python:3.14from
miss-islington:backport-31d3836-3.14

Conversation

miss-islington commented Aug 30, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

The Tools/ssl/multissltests.py script may extract a possibly untrusted tarball.
Since the script does not necessarily use Python 3.14 or later (where the "data"
filter became the default tarfile extraction filter), the user may theoretically
suffer from a path traversal attack.

Although the script should not be used in production and usually relies on downloading
trusted sources, the "data" extraction filter is now explicitly used wherever relevant.
(cherry picked from commit 31d3836)

Co-authored-by: Tommaso Bona piergeolo@gmail.com

…/ssl/multissltests.py` (pythonGH-138147)

The `Tools/ssl/multissltests.py` script may extract a possibly untrusted tarball.
Since the script does not necessarily use Python 3.14 or later (where the `"data"`
filter became the default `tarfile` extraction filter), the user may theoretically
suffer from a path traversal attack.

Although the script should not be used in production and usually relies on downloading
trusted sources, the `"data"` extraction filter is now explicitly used wherever relevant.
(cherry picked from commit 31d3836)

Co-authored-by: Tommaso Bona <piergeolo@gmail.com>
hugovk merged commit b79bece into python:3.14 Aug 31, 2025
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
… `Tools/ssl/multissltests.py` (pythonGH-138147) (python#138262)

Co-authored-by: Tommaso Bona <piergeolo@gmail.com>
miss-islington deleted the backport-31d3836-3.14 branch January 2, 2026 17:03
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL