Bug 2321440 (CVE-2024-9287)
Summary: | CVE-2024-9287 python: Virtual environment (venv) activation scripts don't quote paths | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
Status: | NEW --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | lbalhar |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
A vulnerability has been found in the Python `venv` module and CLI. Path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts, for example, "source venv/bin/activate". This flaw allows attacker-controlled virtual environments to run commands when the virtual environment is activated.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2321661, 2321653, 2321654, 2321655, 2321656, 2321657, 2321658, 2321659, 2321660, 2321662 | ||
Bug Blocks: |
Description
OSIDB Bzimport
2024-10-24 10:14:35 UTC
Upstream issue: https://github.com/python/cpython/issues/124651 The fix has already been merged into 3.11+, PRs for 3.10 and 3.9 are waiting and all versions should get a security release after that. This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:10779 https://access.redhat.com/errata/RHSA-2024:10779 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:10978 https://access.redhat.com/errata/RHSA-2024:10978 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:10979 https://access.redhat.com/errata/RHSA-2024:10979 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:10980 https://access.redhat.com/errata/RHSA-2024:10980 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:10983 https://access.redhat.com/errata/RHSA-2024:10983 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2024:11024 https://access.redhat.com/errata/RHSA-2024:11024 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2024:11035 https://access.redhat.com/errata/RHSA-2024:11035 This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2024:11111 https://access.redhat.com/errata/RHSA-2024:11111 This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:0280 https://access.redhat.com/errata/RHSA-2025:0280 |