chore(deps): update dependency virtualenv to v20.36.1 [security] #188
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.
This PR contains the following updates:
==20.23.1→==20.36.1GitHub Vulnerability Alerts
CVE-2024-53899
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.
CVE-2026-22702
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
Release Notes
pypa/virtualenv (virtualenv)
v20.36.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.36.0...20.36.1
v20.36.0Compare Source
What's Changed
errno.EMFILEinstead ofstrerrorby @pltrz in #3001--pythonflag. by @rahuldevikar in #3008New Contributors
Full Changelog: pypa/virtualenv@20.35.3...20.36.0
v20.35.4Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.35.3...20.35.4
v20.35.3Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.35.1...20.35.3
v20.35.2Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.35.1...20.35.2
v20.35.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.34.0...20.35.1
v20.35.0Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.34.0...20.35.0
v20.34.0Compare Source
What's Changed
FileCachefrompy_infoby @esafak in #2947PATHtakes precedence over uv-managed Pythons by @edgarrmondragon in #2952Full Changelog: pypa/virtualenv@20.33.1...20.34.0
v20.33.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.33.0...20.33.1
v20.33.0Compare Source
What's Changed
@pytest.mark.flakyinstead of@flaky.flakyby @mgorny in #2911--try-first-withwas overriding an absolute--pythonpath by @esafak in #2921Full Changelog: pypa/virtualenv@20.32.0...20.33.0
v20.32.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.31.2...20.32.0
v20.31.2Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.31.1...20.31.2
v20.31.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.31.0...20.31.1
v20.31.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.30.0...20.31.0
v20.30.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.29.3...20.30.0
v20.29.3Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.29.2...20.29.3
v20.29.2Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.29.1...20.29.2
v20.29.1Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.29.0...20.29.1
v20.29.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.28.1...20.29.0
v20.28.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.28.0...20.28.1
v20.28.0Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.27.2...20.28.0
v20.27.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.27.0...20.27.1
v20.27.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.26.5...20.27.0
v20.26.6Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.26.5...20.26.6
v20.26.5Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.26.4...20.26.5
v20.26.4Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.26.3...20.26.4
v20.26.3Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.26.2...20.26.3
v20.26.2Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.26.1...20.26.2
v20.26.1Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.26.0...20.26.1
v20.26.0Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.25.3...20.26.0
v20.25.3Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.25.2...20.25.3
v20.25.2Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.25.1...20.25.2
v20.25.1Compare Source
What's Changed
_virtualenvby @hauntsaninja in #2688Full Changelog: pypa/virtualenv@20.25.0...20.25.1
v20.25.0Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.24.6...20.25.0
v20.24.7Compare Source
What's Changed
Full Changelog: pypa/virtualenv@20.24.6...20.24.7
v20.24.6Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.24.5...20.24.6
v20.24.5Compare Source
What's Changed
New Contributors
Full Changelog: pypa/virtualenv@20.24.4...20.24.5
v20.24.4Compare Source
What's Changed
New Contributors
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
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.