跳转到帖子

Red Hat: CVE-2024-9287: python: Virtual environment (venv) activation scripts don't quote paths (Multiple Advisories)

recommended_posts

发布于
  • Members

Red Hat: CVE-2024-9287: python: Virtual environment (venv) activation scripts don't quote paths (Multiple Advisories)

Severity
5
CVSS
(AV:L/AC:L/Au:M/C:P/I:C/A:N)
Published
10/22/2024
Created
01/16/2025
Added
01/15/2025
Modified
02/12/2025

Description

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.

Solution(s)

  • redhat-upgrade-platform-python
  • redhat-upgrade-platform-python-debug
  • redhat-upgrade-platform-python-devel
  • redhat-upgrade-python-unversioned-command
  • redhat-upgrade-python3
  • redhat-upgrade-python3-11
  • redhat-upgrade-python3-11-debug
  • redhat-upgrade-python3-11-debuginfo
  • redhat-upgrade-python3-11-debugsource
  • redhat-upgrade-python3-11-devel
  • redhat-upgrade-python3-11-idle
  • redhat-upgrade-python3-11-libs
  • redhat-upgrade-python3-11-rpm-macros
  • redhat-upgrade-python3-11-test
  • redhat-upgrade-python3-11-tkinter
  • redhat-upgrade-python3-12
  • redhat-upgrade-python3-12-debug
  • redhat-upgrade-python3-12-debuginfo
  • redhat-upgrade-python3-12-debugsource
  • redhat-upgrade-python3-12-devel
  • redhat-upgrade-python3-12-idle
  • redhat-upgrade-python3-12-libs
  • redhat-upgrade-python3-12-rpm-macros
  • redhat-upgrade-python3-12-test
  • redhat-upgrade-python3-12-tkinter
  • redhat-upgrade-python3-9-debuginfo
  • redhat-upgrade-python3-9-debugsource
  • redhat-upgrade-python3-debug
  • redhat-upgrade-python3-debuginfo
  • redhat-upgrade-python3-debugsource
  • redhat-upgrade-python3-devel
  • redhat-upgrade-python3-idle
  • redhat-upgrade-python3-libs
  • redhat-upgrade-python3-test
  • redhat-upgrade-python3-tkinter

References

  • CVE-2024-9287
  • RHSA-2024:10779
  • RHSA-2024:10978
  • RHSA-2024:10979
  • RHSA-2024:10980
  • RHSA-2024:10983
  • RHSA-2024:11024
  • RHSA-2024:11035
  • RHSA-2024:11111
  • RHSA-2025:0280
View more
  • 查看数 694
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…