VDB

CVE-2022-42919

CVE-2022-42919 PUBLISHED CVSS 7.8 HIGH

Reported by mitre · Published November 6, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-unversioned-commandAmazon Linux3.9.16-1.amzn2023.0.2
python-minBitnami3.10.9, 3.9.16, 3.8.16, 3.7.16
python3Alpine3.10.9-r0
pythonBitnami3.10.9, 3.9.16, 3.8.16, 3.7.16
python3-debugAmazon Linux3.9.16-1.amzn2023.0.2
python3-testAmazon Linux3.9.16-1.amzn2023.0.2
python3-develAmazon Linux3.9.16-1.amzn2023.0.2
python3Amazon Linux3.9.16-1.amzn2023.0.2
libpythonBitnami3.10.9, 3.9.16, 3.8.16, 3.7.16
python3-tkinterAmazon Linux3.9.16-1.amzn2023.0.2
debian/python-3.14debian3.11.0, 3.10.9, 3.9.16
debian/python-3.10debian3.11.0, 3.10.9, 3.9.16

12 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
amazon:2023python-unversioned-command0
alpinepython30
amazon:2023python3-debug0
PythonPython
amazon:2023python3-test0
amazon:2023python3-devel0
amazon:2023python30
amazon:2023python3-tkinter0
n/an/a*
amazon:2023python3-libs0
amazon:2023python3-idle0

Timeline

  • Oct 30, 2022 CVE Published
  • Nov 7, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (53 in total, the first dated here)
  • Jun 14, 2026 Coalition ESS Score
  • Nov 14, 2026 Distribution Patch (49 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-42919
vulnetix vdb fixes CVE-2022-42919

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-42919/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›