7.8
HIGH
CVE-2022-42919
Python Linux Forkserver Pickle Deserialization Privilege Escalation
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.

INFO

Published Date :

Nov. 7, 2022, 12:15 a.m.

Last Modified :

Nov. 7, 2023, 3:53 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2022-42919 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-42919 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Python python
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-42919.

URL Resource
https://github.com/python/cpython/compare/v3.10.8...v3.10.9 Release Notes
https://github.com/python/cpython/compare/v3.9.15...v3.9.16 Release Notes
https://github.com/python/cpython/issues/97514 Third Party Advisory
https://github.com/python/cpython/issues/97514#issuecomment-1310277840 Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/
https://security.gentoo.org/glsa/202305-02
https://security.netapp.com/advisory/ntap-20221209-0006/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

TypeScript JavaScript Shell

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 17, 2023, 1:20 a.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-42919 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-42919 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/
  • CVE Modified by [email protected]

    May. 03, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202305-02 [No Types Assigned]
  • Modified Analysis by [email protected]

    Feb. 05, 2023

    Action Type Old Value New Value
    Changed Reference Type https://github.com/python/cpython/compare/v3.10.8...v3.10.9 No Types Assigned https://github.com/python/cpython/compare/v3.10.8...v3.10.9 Release Notes
    Changed Reference Type https://github.com/python/cpython/compare/v3.9.15...v3.9.16 No Types Assigned https://github.com/python/cpython/compare/v3.9.15...v3.9.16 Release Notes
    Changed Reference Type https://github.com/python/cpython/issues/97514#issuecomment-1310277840 No Types Assigned https://github.com/python/cpython/issues/97514#issuecomment-1310277840 Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/ Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20221209-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20221209-0006/ Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.10.8 OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.7.3 up to (including) 3.7.15 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.3 up to (including) 3.8.15 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.16 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.10.0 up to (excluding) 3.10.9
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 18, 2023

    Action Type Old Value New Value
    Changed Description Python 3.9.x and 3.10.x through 3.10.8 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. 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.
    Added Reference https://github.com/python/cpython/compare/v3.10.8...v3.10.9 [No Types Assigned]
    Added Reference https://github.com/python/cpython/compare/v3.9.15...v3.9.16 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 13, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/RDK3ZZBRYFO47ET3N4BNTKVXN47U6ICY/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 12, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/QLUGZSEAO3MBWGKCUSMKQIRYJZKJCIOB/ [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 14, 2022

    Action Type Old Value New Value
    Changed Description Python 3.9.x and 3.10.x through 3.10.8 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.4, but users would need to make specific uncommon API calls in order to do that in CPython before 3.9. Python 3.9.x and 3.10.x through 3.10.8 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.
    Added Reference https://github.com/python/cpython/issues/97514#issuecomment-1310277840 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 09, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20221209-0006/ [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 01, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/R6KGIRHSENZ4QAB234Z36HVIDTRJ3MFI/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 23, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/XX6LLAXGZVZ327REY6MDZRMMP47LJ53P/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 22, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/P2LHWWEI5OBQ6RELULMVU6KMDYG4WZXH/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 19, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/FKGCQPIVHEAIJ77R3RSNSQWYBUDVWDKU/ [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 18, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/VCRKBB5Y5EWTJUNC7LK665WO64DDXSTN/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/PI5DYIED6U26BGX5IRZWNCP6TY4M2ZGZ/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 08, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/python/cpython/issues/97514 No Types Assigned https://github.com/python/cpython/issues/97514 Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.10.8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-42919 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-42919 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.08236

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability