CVE & CISA-KEV Catalog

CVE-2022-42919

HIGH
7.8
CVSS v3
NVD

Description

Python 3.9.x before 3.9.16 and 3.10.x before 3.10.9 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.abstract_sockets_supported 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.3, but users would need to make specific uncommon API calls in order to do that in CPython before 3.9.

How to fix

Remediation Available
pypy3Debian
Fixed in:7.3.11+dfsg-1CVE-2022-42919
Fixed in:7.3.11+dfsg-1CVE-2022-42919
Fixed in:7.3.11+dfsg-1CVE-2022-42919
python3.10Ubuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
Fixed in:3.10.6-1~22.04.1USN-5713-1
Fixed in:3.10.7-1ubuntu0.1USN-5713-1
python3.10-minimalUbuntu
Fixed in:3.10.6-1~22.04.1USN-5713-1
Fixed in:3.10.12-1~22.04.4USN-6891-1
Fixed in:3.10.7-1ubuntu0.1USN-5713-1
python3.11Ubuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.11-minimalUbuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.12Ubuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.12-minimalUbuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
python3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
python3.6Ubuntu
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.6-minimalUbuntu
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.7Ubuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.7-minimalUbuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.8Ubuntu
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.8-minimalUbuntu
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.9Ubuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm1USN-5888-1
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
python3.9-minimalUbuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
Fixed in:3.9.5-3ubuntu0~20.04.1+esm1USN-5888-1
Python 2Windows application
Affected:3.9.0 3.9.16Fixed in:3.9.16Python Software Foundation
Affected:3.10.0 3.10.9Fixed in:3.10.9Python Software Foundation
Python 3.10Windows application
Affected:3.10.0 3.10.9Fixed in:3.10.9Python Software Foundation
Affected:3.9.0 3.9.16Fixed in:3.9.16Python Software Foundation
Python 3.11Windows application
Affected:3.9.0 3.9.16Fixed in:3.9.16Python Software Foundation
Affected:3.10.0 3.10.9Fixed in:3.10.9Python Software Foundation
Python 3.12Windows application
Affected:3.10.0 3.10.9Fixed in:3.10.9Python Software Foundation
Affected:3.9.0 3.9.16Fixed in:3.9.16Python Software Foundation
Python 3.8Windows application
Affected:3.10.0 3.10.9Fixed in:3.10.9Python Software Foundation
Affected:3.9.0 3.9.16Fixed in:3.9.16Python Software Foundation
Python 3.9Windows application
Affected:3.9.0 3.9.16Fixed in:3.9.16Python Software Foundation
Affected:3.10.0 3.10.9Fixed in:3.10.9Python Software Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.60%probability of exploitation in 30 days
45thpercentile

Moderate risk: more likely to be exploited than 45% of all known CVEs.

References

Related Vulnerabilities

Other CWE-502 (Deserialization of Untrusted Data) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-0669High7.2100%KEV + RansomFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-35464Critical9.8100%KEV + RansomFix
CVE-2023-29300Critical9.8100%KEV + Ransom-
CVE-2025-53770Critical9.8100%KEV + RansomFix
CVE-2022-47986Critical9.8100%KEV + Ransom-
Embed a live status badge for CVE-2022-42919
CVE-2022-42919 severity badge

Markdown

[![CVE-2022-42919](https://tridentstack.com/cve/badge/CVE-2022-42919.svg)](https://tridentstack.com/cve/CVE-2022-42919)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-42919"><img src="https://tridentstack.com/cve/badge/CVE-2022-42919.svg" alt="CVE-2022-42919"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.