Virtual environment (venv) activation scripts don't quote paths
Résumé
Virtual environment (venv) activation scripts don't quote paths
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Alpine Linux ALPINE-CVE-2024-9287 python3 Corrigé dans: 3.11.11-r0
- BellSoft Alpaquita BELL-CVE-2024-9287 python3 Corrigé dans: 3.11.11-r0
- Debian DEBIAN-CVE-2024-9287 pypy3 Corrigé dans: 7.3.5+dfsg-2+deb11u4
Références
- advisory mail.python.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web nvd.nist.gov
- web security.netapp.com
- web lists.debian.org
- web lists.debian.org