Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. virtualenv is a tool for creating isolated virtual python environments. From 21.14.8 until 21.14.10, the app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file forms of symlink_app_data can enable this state even though the command-line flag is disabled for temporary app-data. The resulting environment depends on a cache pathname that its owner no longer controls. This issue is fixed in version 21.14.10.
Only the activation scripts are vendored (and modified) in uv from virtualenv. Since this flaw doesn’t lie in the activation scripts, it can’t affect uv.
Since bug 2561913 turned out to be reproducible in uv despite not involving activation scripts (perhaps due to similar design flaws in separate implementations), I’m reopening this for further triaging.
not applicable, uv already guards against this since 0.2.31 $ uv pip install --no-cache --link-mode=symlink iniconfig Resolved 1 package in 159ms Prepared 1 package in 23ms error: Symlink-based installation is not supported with `--no-cache`. The created environment will be rendered unusable by the removal of the cache.