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
| Vector | AV: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 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Debian
Linuxmint
Python
Red Hat
Rocky Linux
Suse
Ubuntu