Deserialization of Untrusted Data in Python - CVE-2022-42919

 

Deserialization of Untrusted Data in Python - CVE-2022-42919

Published: November 16, 2022


Vulnerability identifier: #VU69391
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-42919
CWE-ID: CWE-502
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Python.org
Affected software:
Python

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to 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.A local user can execute arbitrary code with privileges of the user running the any forkserver process.


How to mitigate CVE-2022-42919

Install updates from vendor's website.

Sources