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. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.
uv's activate never implemented any of the escaping virtualenv did, so this is a class of bug that uv seems to indeed have
Reported to uv security contact and got a reply: This does not constitute vulnerability within uv’s attacker and threat models Public upstream bug: https://github.com/astral-sh/uv/issues/23058