kcve.ai취약점 정보 · 내 자산 확인

CVE-2024-9287 Virtual environment (venv) activation scripts don't quote paths

설명

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.

영향 받는 제품 제품 1개

  • Python Software Foundation

    CPython

    해결 버전 있음

    영향 받는 버전

    • 3.9.21 미만
    • 3.10.0 이상 3.10.16 미만
    • 3.11.0 이상 3.11.11 미만
    • 3.12.0 이상 3.12.8 미만
    • 3.13.0 이상 3.13.1 미만
    • 3.14.0a1 이상 3.14.0a2 미만

    해결 버전

    • 3.9.21 이상
    • 3.10.16 이상
    • 3.11.11 이상
    • 3.12.8 이상
    • 3.13.1 이상
    • 3.14.0a2 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의