Repository navigation
Update dependency virtualenv to v20.36.1 [SECURITY] - #256
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This branch has not been deployed
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
==20.15.1→==20.36.1virtualenv allows command injection through activation scripts for a virtual environment
CVE-2024-53899 / GHSA-rqc4-2hc7-8c8v
More information
Details
virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.
Severity
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
virtualenv Has TOCTOU Vulnerabilities in Directory Creation
CVE-2026-22702 / GHSA-597g-3phw-6986
More information
Details
Impact
TOCTOU (Time-of-Check-Time-of-Use) vulnerabilities in
virtualenvallow local attackers to perform symlink-based attacks on directory creation operations. An attacker with local access can exploit a race condition between directory existence checks and creation to redirect virtualenv's app_data and lock file operations to attacker-controlled locations.Affected versions: All versions up to and including 20.36.1
Affected users: Any user running
virtualenvon multi-user systems where untrusted local users have filesystem access to shared temporary directories or whereVIRTUALENV_OVERRIDE_APP_DATApoints to a user-writable location.Attack scenarios:
Patches
The vulnerability has been patched by replacing check-then-act patterns with atomic
os.makedirs(..., exist_ok=True)operations.Fixed in: PR #3013
Versions with the fix: 20.36.2 and later
Users should upgrade to version 20.36.2 or later.
Workarounds
If you cannot upgrade immediately:
VIRTUALENV_OVERRIDE_APP_DATApoints to a directory owned by the current user with restricted permissions (mode 0700)virtualenvin shared temporary directories where other users have write accessReferences
Severity
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
pypa/virtualenv (virtualenv)
v20.36.1Compare Source
Bugfixes - 20.36.1
reported by tsigouris007, fixed by gaborbernat. (#3013)
PyPI release
Full Changelog: pypa/virtualenv@20.36.0...20.36.1
v20.36.0Compare Source
Features - 20.36.0
--pythonflag. Users can now specify Python versions usingoperators like
>=,<=,~=, etc. For example:virtualenv --python=">=3.12" myenv`. (#2994)PyPI release
Full Changelog: pypa/virtualenv@20.35.4...20.36.0
v20.35.4Compare Source
Bugfixes - 20.35.4
Fix race condition in
_virtualenv.pywhen file is overwritten during import, preventingNameErrorwhen_DISTUTILS_PATCHis accessed - by gracetyy. (#2969)Upgrade embedded wheels:
25.3from25.2(#2989)PyPI release
Full Changelog: pypa/virtualenv@20.35.3...20.35.4
v20.35.3Compare Source
Bugfixes - 20.35.3
test_too_many_open_files, by esafak (#2935)PyPI release
Full Changelog: pypa/virtualenv@20.35.2...20.35.3
v20.35.2Compare Source
Bugfixes - 20.35.2
PyPI release
Full Changelog: pypa/virtualenv@20.35.1...20.35.2
v20.35.1Compare Source
Bugfixes - 20.35.1
PythonInfo- by gaborbernat. (#2975)PyPI release
Full Changelog: pypa/virtualenv@20.35.0...20.35.1
v20.35.0Compare Source
Features - 20.35.0
Bugfixes - 20.35.0
PyPI release
Full Changelog: pypa/virtualenv@20.34.0...20.35.0
v20.34.0Compare Source
Features - 20.34.0
FileCachefrompy_info(discovery) - byesafak. Remove references to py_info in FileCache - by esafak. Decouple discovery from creator plugins
Bugfixes - 20.34.0
25.2from25.1.1- by gaborbernat. (#2333)test_too_many_open_files, by esafak (#2935)PyPI release
Full Changelog: pypa/virtualenv@20.33.1...20.34.0
v20.33.1Compare Source
Bugfixes - 20.33.1
py_info.pytimestamp intest_py_info_cache_invalidation_on_py_info_changeContributed by esafak.(#2933)
PyPI release
Full Changelog: pypa/virtualenv@20.33.0...20.33.1
v20.33.0Compare Source
Features - 20.33.0
Bugfixes - 20.33.0
u)py_info.py. Contributed by esafak. (#2467)StopIteration and raises a RuntimeError with a more informative message. Contributed by esafak.
(#2493)
--try-first-withoverriding absolute--pythonpaths. Contributed by esafak. (#2659)--copiesMakefs_supports_symlinkperform a real symlink creation check on all platforms. Contributed by esafak.(#2786)
Contributed by esafak. (#2808)
esafak. (#2834)
venvlauncher.exeandvenvwlauncher.exe) on Python 3.13 Contributed byesafak. (#2851)
--optionalflag for Nushellgetcommand on version 0.106.0 and newer, while retaining the deprecated-iflag for older versions tomaintain compatibility. Contributed by gaborbernat. (#2910)
PyPI release
Full Changelog: pypa/virtualenv@20.32.0...20.33.0
v20.32.0Compare Source
Features - 20.32.0
nushell_activation)Bugfixes - 20.32.0
80.9.0from80.3.1- by gaborbernat. (#2900)PyPI release
Full Changelog: pypa/virtualenv@20.31.2...20.32.0
v20.31.2Compare Source
No significant changes.
PyPI release
Full Changelog: pypa/virtualenv@20.31.1...20.31.2
v20.31.1Compare Source
Bugfixes - 20.31.1
Upgrade embedded wheels:
25.1.1from25.180.3.1from78.1.0(#2880)PyPI release
Full Changelog: pypa/virtualenv@20.31.0...20.31.1
v20.31.0Compare Source
Features - 20.31.0
wheelwheels (except on Python 3.8),setuptoolsincludes nativebdist_wheelsupport.Update
pipto25.1. (#2868)Bugfixes - 20.31.0
get_embed_wheel()no longer fails with aTypeErrorwhen it is called with an unknown distribution.(#2877)
HelpFormattererror with Python 3.14.0b1. (#2878)PyPI release
Full Changelog: pypa/virtualenv@20.30.0...20.31.0
v20.30.0Compare Source
Features - 20.30.0
GraalPy <https://github.com/oracle/graalpython>_. (#2832)Bugfixes - 20.30.0
Upgrade embedded wheels:
78.1.0from75.3.2(#2863)PyPI release
Full Changelog: pypa/virtualenv@20.29.3...20.30.0
v20.29.3Compare Source
Bugfixes - 20.29.3
PATH. (#2794)PyPI release
Full Changelog: pypa/virtualenv@20.29.2...20.29.3
v20.29.2Compare Source
Bugfixes - 20.29.2
25.0.1from24.3.1- by gaborbernat. (#2843)PyPI release
Full Changelog: pypa/virtualenv@20.29.1...20.29.2
v20.29.1Compare Source
Bugfixes - 20.29.1
PyPI release
Full Changelog: pypa/virtualenv@20.29.0...20.29.1
v20.29.0Compare Source
Features - 20.29.0
python3.13t. (#2809)Bugfixes - 20.29.0
Upgrade embedded wheels:
75.8.0from75.6.0(#2823)PyPI release
Full Changelog: pypa/virtualenv@20.28.1...20.29.0
v20.28.1Compare Source
Bugfixes - 20.28.1
PyPI release
Full Changelog: pypa/virtualenv@20.28.0...20.28.1
v20.28.0Compare Source
Features - 20.28.0
neilramsay. (#2803)PyPI release
Full Changelog: pypa/virtualenv@20.27.2...20.28.0
v20.27.1Compare Source
Bugfixes - 20.27.1
Upgrade embedded wheels:
24.3.1from24.2(#2789)PyPI release
Full Changelog: pypa/virtualenv@20.27.0...20.27.1
v20.27.0Compare Source
Features - 20.27.0
Bugfixes - 20.27.0
When a
$PATHentry cannot be checked for existence, skip it instead of terminating - by hroncok.(#2782)
Upgrade embedded wheels:
75.2.0from75.1.024.068.0.00.42.0Fix zipapp is broken on Windows post distlib
0.3.9- by gaborbernat. (#2784)PyPI release
Full Changelog: pypa/virtualenv@20.26.6...20.27.0
v20.26.6Compare Source
Bugfixes - 20.26.6
y5c4l3. (#2768)
PyPI release
Full Changelog: pypa/virtualenv@20.26.5...20.26.6
v20.26.5Compare Source
Bugfixes - 20.26.5
75.1.0from74.1.2- by gaborbernat. (#2765)PyPI release
Full Changelog: pypa/virtualenv@20.26.4...20.26.5
v20.26.4Compare Source
Bugfixes - 20.26.4
no longer create
()output in console during activation of a virtualenv by .bat file. (#2728)Upgrade embedded wheels:
0.44.0from0.43.024.2from24.174.1.2from70.1.0(#2760)PyPI release
Full Changelog: pypa/virtualenv@20.26.3...20.26.4
v20.26.3Compare Source
Bugfixes - 20.26.3
Upgrade embedded wheels:
70.1.0from69.5.124.1from24.0(#2741)PyPI release
Full Changelog: pypa/virtualenv@20.26.2...20.26.3
v20.26.2Compare Source
Bugfixes - 20.26.2
virtualenv.pyzno longer fails when zipapp path contains a symlink - by HandSonic and petamas.(#1949)
PyPI release
Full Changelog: pypa/virtualenv@20.26.1...20.26.2
v20.26.1Compare Source
Bugfixes - 20.26.1
PyPI release
Full Changelog: pypa/virtualenv@20.26.0...20.26.1
v20.26.0Compare Source
Bugfixes - 20.26.0
python3.12) given an unspecific spec (e.g.python3) - by flying-sheep. (#2709)PyPI release
Full Changelog: pypa/virtualenv@20.25.3...20.26.0
v20.25.3Compare Source
Bugfixes - 20.25.3
PyPI release
Full Changelog: pypa/virtualenv@20.25.2...20.25.3
v20.25.2Compare Source
Bugfixes - 20.25.2
Upgrade embedded wheels:
69.1.0to69.5.10.42.0to0.43.0(#2699)PyPI release
Full Changelog: pypa/virtualenv@20.25.1...20.25.2
v20.25.1Compare Source
Bugfixes - 20.25.1
Upgrade embedded wheels:
69.0.3from69.0.223.3.2from23.3.1(#2681)Upgrade embedded wheels:
23.3.2to24.0,69.0.3to69.1.0. (#2691)Misc - 20.25.1
PyPI release
Full Changelog: pypa/virtualenv@20.25.0...20.25.1
v20.25.0Compare Source
Features - 20.25.0
Bugfixes - 20.25.0
Upgrade embedded wheels:
0.41.3from0.41.2(#2665)Upgrade embedded wheels:
0.42.0from0.41.369.0.2from68.2.2(#2669)PyPI release
Full Changelog: pypa/virtualenv@20.24.7...20.25.0
v20.24.7Compare Source
Bugfixes - 20.24.7
v20.24.6Compare Source
Bugfixes - 20.24.6
Use get_hookimpls method instead of the private attribute in tests. (#2649)
Upgrade embedded wheels:
68.2.2from68.2.023.3.1from23.2.1(#2656)PyPI release
Full Changelog: pypa/virtualenv@20.24.5...20.24.6
v20.24.5Compare Source
Bugfixes - 20.24.5
Declare PyPy 3.10 support - by cclauss. (#2638)
Brew on macOS no longer allows copy builds - disallow choosing this by gaborbernat. (#2640)
Upgrade embedded wheels:
68.2.0from68.1.2(#2642)PyPI release
Full Changelog: pypa/virtualenv@20.24.4...20.24.5
v20.24.4Compare Source
Bugfixes - 20.24.4
Upgrade embedded wheels:
68.1.2from68.1.0on3.8+0.41.2from0.41.1on3.7+(#2628)PyPI release
Full Changelog: pypa/virtualenv@20.24.3...20.24.4
v20.24.3Compare Source
What's Changed
tasksdirectory to sdist on build (#2610) by @sigma67 in #2620New Contributors
Full Changelog: pypa/virtualenv@20.24.2...20.24.3
v20.24.2Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.24.1...20.24.2
v20.24.1Compare Source
What's Changed
pipby @arielkirkwood in #2611New Contributors
Full Changelog: pypa/virtualenv@20.24.0...20.24.1
v20.24.0Compare Source
What's Changed
VIRTUAL_ENV_PROMPTin activation scripts (#2194) by @jimporter in #2606New Contributors
Full Changelog: pypa/virtualenv@20.23.1...20.24.0
v20.23.1Compare Source
What's Changed
pytest-freezegunby @jugmac00 in #2576New Contributors
Full Changelog: pypa/virtualenv@20.23.0...20.23.1
v20.23.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.22.0...20.23.0
v20.22.0Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.21.1...20.22.0
v20.21.1Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.21.0...20.21.1
v20.21.0Compare Source
What's Changed
ReentrantFileLockthread-safe and, thereby, fix race condition invirtualenv.cli_runby @radoering in #2517New Contributors
Full Changelog: pypa/virtualenv@20.20.0...20.21.0
v20.20.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.19.0...20.20.0
v20.19.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.18.0...20.19.0
v20.18.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.17.1...20.18.0
v20.17.1Compare Source
What's Changed
VIRTUAL_ENV_DISABLE_PROMPTin nushell activation script by @m-lima in #2458New Contributors
Full Changelog: pypa/virtualenv@20.17.0...20.17.1
v20.17.0Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.16.7...20.17.0
v20.16.7Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.16.6...20.16.7
v20.16.6Compare Source
What's Changed
find_compatible_in_houseby @schaap in #2430New Contributors
Full Changelog: pypa/virtualenv@20.16.5...20.16.6
v20.16.5Compare Source
What's Changed
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.