A vulnerability has been found in the CPython venv
module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "idle-python3.8" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "libpython3.8" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "libpython3.8-dbg" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "libpython3.8-dev" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "libpython3.8-minimal" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "libpython3.8-stdlib" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "libpython3.8-testsuite" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-dbg" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-dev" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-doc" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-examples" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-full" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-minimal" }, { "binary_version": "3.8.10-0ubuntu1~20.04.13", "binary_name": "python3.8-venv" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.10.12-1~22.04.7", "binary_name": "idle-python3.10" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "libpython3.10" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "libpython3.10-dbg" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "libpython3.10-dev" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "libpython3.10-minimal" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "libpython3.10-stdlib" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "libpython3.10-testsuite" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-dbg" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-dev" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-doc" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-examples" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-full" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-minimal" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-nopie" }, { "binary_version": "3.10.12-1~22.04.7", "binary_name": "python3.10-venv" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.12.7-1ubuntu1", "binary_name": "idle-python3.12" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "libpython3.12-dev" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "libpython3.12-minimal" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "libpython3.12-stdlib" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "libpython3.12-testsuite" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "libpython3.12t64" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "libpython3.12t64-dbg" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-dbg" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-dev" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-doc" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-examples" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-full" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-gdbm" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-minimal" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-nopie" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-tk" }, { "binary_version": "3.12.7-1ubuntu1", "binary_name": "python3.12-venv" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "idle-python3.12" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "libpython3.12-dev" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "libpython3.12-minimal" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "libpython3.12-stdlib" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "libpython3.12-testsuite" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "libpython3.12t64" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "libpython3.12t64-dbg" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-dbg" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-dev" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-doc" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-examples" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-full" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-minimal" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-nopie" }, { "binary_version": "3.12.3-1ubuntu0.3", "binary_name": "python3.12-venv" } ] }