OESA-2024-2483

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-2483
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-2483.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-2483
Upstream
Published
2024-11-29T11:56:07Z
Modified
2025-08-12T05:48:28.980225Z
Summary
python3 security update
Details

Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces.

Security Fix(es):

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.(CVE-2024-9287)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / python3

Package

Name
python3
Purl
pkg:rpm/openEuler/python3&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.9-34.oe2203sp3

Ecosystem specific

{
    "noarch": [
        "python3-help-3.9.9-34.oe2203sp3.noarch.rpm"
    ],
    "aarch64": [
        "python3-3.9.9-34.oe2203sp3.aarch64.rpm",
        "python3-debug-3.9.9-34.oe2203sp3.aarch64.rpm",
        "python3-debuginfo-3.9.9-34.oe2203sp3.aarch64.rpm",
        "python3-debugsource-3.9.9-34.oe2203sp3.aarch64.rpm",
        "python3-devel-3.9.9-34.oe2203sp3.aarch64.rpm",
        "python3-unversioned-command-3.9.9-34.oe2203sp3.aarch64.rpm"
    ],
    "x86_64": [
        "python3-3.9.9-34.oe2203sp3.x86_64.rpm",
        "python3-debug-3.9.9-34.oe2203sp3.x86_64.rpm",
        "python3-debuginfo-3.9.9-34.oe2203sp3.x86_64.rpm",
        "python3-debugsource-3.9.9-34.oe2203sp3.x86_64.rpm",
        "python3-devel-3.9.9-34.oe2203sp3.x86_64.rpm",
        "python3-unversioned-command-3.9.9-34.oe2203sp3.x86_64.rpm"
    ],
    "src": [
        "python3-3.9.9-34.oe2203sp3.src.rpm"
    ]
}