Hardening of Temporary-Directory Usage

Defends against certain forms of local privilege escalation, i.e.
understood to be defense in depth rather than a security issue given
the recommended ways of deploying (docker container or in a single-use
single-server)

Fix #174

See https://github.com/python/cpython/pull/23901
This commit is contained in:
Klaas van Schelven
2025-08-29 13:11:28 +02:00
parent 16578cbe6c
commit 4ad3c5efcf
10 changed files with 174 additions and 12 deletions

View File

@@ -16,6 +16,9 @@ Portions of this software are licensed as follows:
Please refer to the license of the respective component in your package
manager's repository.
* The following files are licensed under the Python Software Foundation License
* bsmain/future_python.py
* Content outside of the above mentioned directories or restrictions above is
available under the license as defined below: