OESA-2022-2097

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-2097
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-2097.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-2097
Upstream
Published
2022-11-11T11:04:36Z
Modified
2025-08-12T05:15:32.521019Z
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. This package Provides python version 3.

Security Fix(es):

Python 3.9.x and 3.10.x through 3.10.8 on Linux allows local privilege escalation in a non-default configuration. The Python multiprocessing library, when used with the forkserver start method on Linux, allows pickles to be deserialized from any user in the same machine local network namespace, which in many system configurations means any user on the same machine. Pickles can execute arbitrary code. Thus, this allows for local user privilege escalation to the user that any forkserver process is running as. Setting multiprocessing.util.abstractsocketssupported to False is a workaround. The forkserver start method for multiprocessing is not the default start method. This issue is Linux specific because only Linux supports abstract namespace sockets. CPython before 3.9 does not make use of Linux abstract namespace sockets by default. Support for users manually specifying an abstract namespace socket was added as a bugfix in 3.7.8 and 3.8.4, but users would need to make specific uncommon API calls in order to do that in CPython before 3.9.(CVE-2022-42919)

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

Affected packages

openEuler:22.03-LTS / python3

Package

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

Affected ranges

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

Ecosystem specific

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