| Files | Last commit | Last update |
|---|---|---|
Fix CVE-2026-113717: verify seed wheels before caching and install with --no-index With --seeder pip --download, PipInvoke.get_pip_install_cmd() acquired the seed wheels with download=False and left pip free to consult the configured index, so an index wheel carrying the same package and version as the selected wheel could be installed without virtualenv comparing its sha256 with the PyPI metadata: download_wheel()/verify_wheel_digest() were skipped (CVE-2026-113717, GHSA-cx28-75q4-x26q, CWE-494). Backport of upstream commit 7babec66e043e1cc8bc66869a063653898719d96 ("fix(seed): verify wheels before caching (#3430)", first released in virtualenv 21.14.9). 20.26.6 predates the 21.7.12 verification infrastructure, so the same primitives are added with the fix: - periodic_update.py: verify_wheel_digest(), UnverifiedWheelError and the PyPI sha256 lookup built on the existing PyPI JSON helpers - acquire.py: download into a private staging directory, accept exactly one archive matching the request, verify its PyPI sha256 when the default index is in use, then move it into the cache - pip_invoke.py: always pass --no-index, download through get_wheel() when --download is requested, and expose only the selected archives to pip through a private temporary find-links directory Adapted to the 20.x code style only (no type annotations, module-level logging, python -m pip instead of the PIP_RUN trampoline); selection and verification logic is the same as upstream. CVE: CVE-2026-113717 Reference: https://github.com/pypa/virtualenv/commit/7babec66e043e1cc8bc66869a063653898719d96 Reference: https://github.com/advisories/GHSA-cx28-75q4-x26q | 2 days ago | |
fix(cve): 修复 CVE-2026-113726 在 python-virtualenv 中的漏洞 修复 CVE-2026-113726 漏洞:backport 上游 commit 5b915367,在 bash/zsh activate 脚本中对环境名转义反斜杠、美元符与反引号,zsh 下额外双写 %, 防止 zsh PROMPT_SUBST(及 bash 重绘)将形如 x$(touch PWNED)y 的环境名 作为命令重展开执行。补丁按 20.26.6 的 activate.sh 结构重写适配(该版本 无 _VIRTUAL_PROMPT 变量与任何转义),经 bash pty 提示符重绘与 dash 兼容 行为验证。--prompt 创建期路径在 20.26.6 已由 via_template shlex.quote 转义,本补丁覆盖运行时激活路径后即完整闭环。 AI 辅助声明 AI 使用情况:是 使用范围:补丁搜索、代码生成 工具:Claude Agent Team 人工验证:计划做 | 19 days ago | |
Fix CVE-2026-22702 | 10 months ago | |
Fix CVE-2026-113717: verify seed wheels before caching and install with --no-index With --seeder pip --download, PipInvoke.get_pip_install_cmd() acquired the seed wheels with download=False and left pip free to consult the configured index, so an index wheel carrying the same package and version as the selected wheel could be installed without virtualenv comparing its sha256 with the PyPI metadata: download_wheel()/verify_wheel_digest() were skipped (CVE-2026-113717, GHSA-cx28-75q4-x26q, CWE-494). Backport of upstream commit 7babec66e043e1cc8bc66869a063653898719d96 ("fix(seed): verify wheels before caching (#3430)", first released in virtualenv 21.14.9). 20.26.6 predates the 21.7.12 verification infrastructure, so the same primitives are added with the fix: - periodic_update.py: verify_wheel_digest(), UnverifiedWheelError and the PyPI sha256 lookup built on the existing PyPI JSON helpers - acquire.py: download into a private staging directory, accept exactly one archive matching the request, verify its PyPI sha256 when the default index is in use, then move it into the cache - pip_invoke.py: always pass --no-index, download through get_wheel() when --download is requested, and expose only the selected archives to pip through a private temporary find-links directory Adapted to the 20.x code style only (no type annotations, module-level logging, python -m pip instead of the PIP_RUN trampoline); selection and verification logic is the same as upstream. CVE: CVE-2026-113717 Reference: https://github.com/pypa/virtualenv/commit/7babec66e043e1cc8bc66869a063653898719d96 Reference: https://github.com/advisories/GHSA-cx28-75q4-x26q | 2 days ago | |
add yaml file | 6 years ago | |
Update to 20.26.6 for fix CVE-2024-53899 | 1 year ago |
Project README is empty