CVE-2022-42919
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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Timeline
ID reserved
By mitre
- 23 days later
· 23 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.80% · top 43% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (15)
- https://github.com/python/cpython/issues/97514 (opens in a new tab)x_transferred
- FEDORA-2022-1166a1df1e (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-028c09eaa7 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-b17bf30e88 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-462f39dd2f (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-a7cad6bd22 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-f44dd1bec2 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20221209-0006/ (opens in a new tab)x_transferred
- https://github.com/python/cpython/issues/97514#issuecomment-1310277840 (opens in a new tab)x_transferred
- FEDORA-2023-af5206f71d (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2023-097dd40685 (opens in a new tab)vendor-advisoryx_transferred
- https://github.com/python/cpython/compare/v3.10.8...v3.10.9 (opens in a new tab)x_transferred
- https://github.com/python/cpython/compare/v3.9.15...v3.9.16 (opens in a new tab)x_transferred
- GLSA-202305-02 (opens in a new tab)vendor-advisoryx_transferred
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-42919)Record last updated .