PT-2022-5291 · Python+9 · Python+9

Devin Jeanpierre

+1

·

Published

2020-03-10

·

Updated

2025-11-07

·

CVE-2022-42919

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Python versions 3.9.x through 3.9.15 Python versions 3.10.x through 3.10.8
Description The issue is related to the Python multiprocessing library when used with the forkserver start method on Linux, allowing pickles to be deserialized from any user in the same machine local network namespace. This can lead to local user privilege escalation to the user that any forkserver process is running as, as pickles can execute arbitrary code. The forkserver start method is not the default start method, and this issue is Linux specific due to the support of abstract namespace sockets.
Recommendations For Python versions 3.9.x through 3.9.15, set multiprocessing.util.abstract sockets supported to False as a workaround. For Python versions 3.10.x through 3.10.8, set multiprocessing.util.abstract sockets supported to False as a workaround. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

LPE

Deserialization of Untrusted Data

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:8492
ALSA-2022:8493
ALT-PU-2020-1434
ALT-PU-2023-1518
ALT-PU-2023-1951
ALT-PU-2024-2598
ALT-PU-2024-3474
AZL-11394
BDU:2022-06576
BIT-LIBPYTHON-2022-42919
BIT-PYTHON-2022-42919
BIT-PYTHON-MIN-2022-42919
CESA-2022_8492
CVE-2022-42919
DLA-3980-1
OESA-2022-2097
OPENSUSE-SU-2022_4004-1
OPENSUSE-SU-2022_4071-1
OPENSUSE-SU-2024:12453-1
OPENSUSE-SU-2024:12481-1
OPENSUSE-SU-2024:12482-1
OPENSUSE-SU-2024:12910-1
OPENSUSE-SU-2024:14109-1
OPENSUSE-SU-2024:14434-1
OPENSUSE-SU-2025:15713-1
PSF-2022-9
RHSA-2022:8492
RHSA-2022:8493
RHSA-2022_8492
RHSA-2022_8493
RLSA-2022:8492
RLSA-2022:8493
SUSE-SU-2022:4004-1
SUSE-SU-2022:4071-1
SUSE-SU-2022_4004-1
SUSE-SU-2022_4071-1
SUSE-SU-2023:0707-1
SUSE-SU-2023:0748-1
USN-5713-1
USN-5888-1
USN-6891-1

Affected Products

Alt Linux
Almalinux
Centos
Debian
Linuxmint
Python
Red Hat
Rocky Linux
Suse
Ubuntu