Skip to content
Fencer Vulns
high 7.8

CVE-2022-42919 json

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.

published 2022-11-06 4 y ago modified 2026-09-08 2 mo ago also BIT-libpython-2022-42919 , BIT-python-2022-42919 , BIT-python-min-2022-42919 , EUVD-2022-45976

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami libpython 3.7.16, 3.8.16, 3.9.16, 3.10.9
  • bitnami python 3.7.16, 3.8.16, 3.9.16, 3.10.9
  • bitnami python-min 3.7.16, 3.8.16, 3.9.16, 3.10.9
  • python python 3.9.16, 3.10.9
  • pypy3 Debian 14, Debian 13, Debian 12 7.3.11+dfsg-1
  • python3.11 Debian 12 3.11.0-2

debian advisories DEBIAN-CVE-2022-42919

  • python3.10 Ubuntu 22.04 LTS 3.10.6-1~22.04.1
  • python3.9 Ubuntu Pro 20.04 LTS 3.9.5-3ubuntu0~20.04.1+esm1
  • python3.11 Ubuntu Pro 22.04 LTS 3.11.0~rc1-1~22.04.1~esm1

ubuntu advisories UBUNTU-CVE-2022-42919

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • numpy RHEL 8.6 EUS, RHEL 8 1.19.4-3.module+el8.5.0+12204+54860423
  • scipy RHEL 8.6 EUS, RHEL 8.4 EUS, RHEL 8 1.5.4-3.module+el8.4.0+9822+20bf1249
  • PyYAML RHEL 8.6 EUS, RHEL 8 5.4.1-1.module+el8.5.0+10613+59a13ec4
  • mod_wsgi RHEL 8 4.7.1-5.module+el8.7.0+16654+645aad7f
  • python39 RHEL 8 3.9.13-2.module+el8.7.0+17195+44752b34
  • python-ply RHEL 8.6 EUS, RHEL 8.4 EUS, RHEL 8 3.11-10.module+el8.4.0+9822+20bf1249
  • python-cffi RHEL 8.6 EUS, RHEL 8.4 EUS, RHEL 8 1.14.3-2.module+el8.4.0+9822+20bf1249
  • python3.9 RHEL 9 3.9.14-1.el9_1.1

red hat advisories RHSA-2022:8492RHSA-2022:8493

  • python310 SLE Module for Python 3 15 SP4, openSUSE Leap 15.4 3.10.10-150400.4.22.1
  • python310-core SLE Module for Python 3 15 SP4, openSUSE Leap 15.4 3.10.10-150400.4.22.1
  • python310-documentation openSUSE Leap 15.4 3.10.10-150400.4.22.1
  • python39 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 3.9.16-150300.4.24.1
  • python39-core SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 3.9.16-150300.4.24.1
  • python39-documentation openSUSE Leap 15.4 3.9.16-150300.4.24.1
  • python39 SLE Module for Basesystem 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 3.9.15-150300.4.21.1
  • python39-core SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP3, openSUSE Leap 15.4 +1 more 3.9.15-150300.4.21.1

suse advisories SUSE-SU-2023:0748-1SUSE-SU-2023:0707-1SUSE-SU-2022:4071-1SUSE-SU-2022:4004-1

  • python315 openSUSE Tumbleweed 3.15.0~a1-1.1
  • python314 openSUSE Tumbleweed 3.14.0~a1-1.1
  • python313 openSUSE Tumbleweed 3.13.0~b3-1.1
  • python311 openSUSE Tumbleweed 3.11.0-1.1
  • python310 openSUSE Tumbleweed 3.10.8-2.1
  • python39 openSUSE Tumbleweed 3.9.15-2.1
  • python312 openSUSE Tumbleweed 3.12.0a7-1.1

opensuse advisories openSUSE-SU-2025:15713-1openSUSE-SU-2024:14434-1openSUSE-SU-2024:14109-1openSUSE-SU-2024:12453-1openSUSE-SU-2024:12481-1openSUSE-SU-2024:12482-1

  • python39 AlmaLinux 8 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-pip AlmaLinux 8 20.2.4-7.module_el8.6.0+2780+a40f65e1
  • python39-ply AlmaLinux 8 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-six AlmaLinux 8 1.15.0-3.module_el8.6.0+2780+a40f65e1
  • python39-cffi AlmaLinux 8 1.14.3-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi AlmaLinux 8 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-idle AlmaLinux 8 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-idna AlmaLinux 8 2.10-3.module_el8.6.0+2780+a40f65e1

almalinux advisories ALSA-2022:8492ALSA-2022:8493

  • python3.9 Rocky Linux 9 3.9.14-1.el9_1.1
  • numpy Rocky Linux 8 1.19.4-2.module+el8.4.0+574+843c4898
  • numpy Rocky Linux 8 1.19.4-3.module+el8.5.0+673+10283621
  • scipy Rocky Linux 8 1.5.4-3.module+el8.5.0+673+10283621
  • scipy Rocky Linux 8 1.5.4-3.module+el8.4.0+574+843c4898
  • PyYAML Rocky Linux 8 5.4.1-1.module+el8.5.0+672+ab6eb015
  • PyYAML Rocky Linux 8 5.4.1-1.module+el8.4.0+574+843c4898
  • mod_wsgi Rocky Linux 8 4.7.1-4.module+el8.4.0+574+843c4898

rocky linux advisories RLSA-2022:8493RLSA-2022:8492

  • python3 Alpine 3.17, Alpine 3.16 3.10.9-r0

alpine advisories ALPINE-CVE-2022-42919

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python3 CBL-Mariner 2.0 3.9.19-1

azure linux advisories AZL-11394

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-42919 updated cvss 7.8

python: local privilege escalation via the multiprocessing forkserver start method

  • Red Hat CodeReady Linux Builder (v. 9) python3 3.9.14-1.el9_1.1, python3-idle 3.9.14-1.el9_1.1, python3-test 3.9.14-1.el9_1.1, python3-tkinter 3.9.14-1.el9_1.1 Red Hat CodeReady Linux Builder EUS (v.9.0) python3 3.9.10-4.el9_0, python3-idle 3.9.10-4.el9_0, python3-test 3.9.10-4.el9_0, python3-tkinter 3.9.10-4.el9_0
    fixed: vendor fix RHSA-2022:8493
  • Red Hat Enterprise Linux AppStream (v. 8) scipy 1.5.4-3.module+el8.4.0+9822+20bf1249, numpy 1.19.4-3.module+el8.5.0+12204+54860423, PyYAML 5.4.1-1.module+el8.5.0+10613+59a13ec4, mod_wsgi 4.7.1-5.module+el8.7.0+16654+645aad7f, python-idna 2.10-3.module+el8.4.0+9822+20bf1249, python-ply 3.11-10.module+el8.4.0+9822+20bf1249, +49 more
    fixed: vendor fix RHSA-2022:8492
  • Red Hat Enterprise Linux AppStream (v. 9) python3-tkinter 3.9.14-1.el9_1.1, python-unversioned-command 3.9.14-1.el9_1.1
    fixed: vendor fix RHSA-2022:8493
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) scipy 1.5.4-3.module+el8.4.0+9822+20bf1249, PyYAML 5.4.1-1.module+el8.4.0+10484+27ce8e03, mod_wsgi 4.7.1-4.module+el8.4.0+9822+20bf1249, numpy 1.19.4-2.module+el8.4.0+15042+dc5a279b.1, python39 3.9.2-2.module+el8.4.0+17197+13952279, python-idna 2.10-3.module+el8.4.0+9822+20bf1249, +49 more Red Hat Enterprise Linux AppStream EUS (v.8.6) scipy 1.5.4-3.module+el8.4.0+9822+20bf1249, numpy 1.19.4-3.module+el8.5.0+12204+54860423, PyYAML 5.4.1-1.module+el8.5.0+10613+59a13ec4, mod_wsgi 4.7.1-4.module+el8.4.0+9822+20bf1249, python39 3.9.7-2.module+el8.6.0+17199+26869780, python-idna 2.10-3.module+el8.4.0+9822+20bf1249, +49 more
    fixed: vendor fix RHSA-2022:8492
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) python3-tkinter 3.9.10-4.el9_0, python-unversioned-command 3.9.10-4.el9_0 Red Hat Enterprise Linux BaseOS (v. 9) python3 3.9.14-1.el9_1.1, python3.9 3.9.14-1.el9_1.1, python3-libs 3.9.14-1.el9_1.1 Red Hat Enterprise Linux BaseOS EUS (v.9.0) python3 3.9.10-4.el9_0, python3.9 3.9.10-4.el9_0, python3-libs 3.9.10-4.el9_0
    fixed: vendor fix RHSA-2022:8493
  • Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more Red Hat Enterprise Linux 8 pytz, babel, numpy, scipy, Cython, PyYAML, +93 more Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat Software Collections rh-python38-python, rh-python38-python-idle, rh-python38-python-libs, rh-python38-python-test, rh-python38-python-tkinter, rh-python38-python-rpm-macros, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-046-11 updated cvss 7.8

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami libpython
>=3.7.3, <3.7.16
>=3.8.3, <3.8.16
>=3.9.0, <3.9.16
>=3.10.0, <3.10.9
3.7.16
3.8.16
3.9.16
3.10.9
bitnami python
>=3.7.3, <3.7.16
>=3.8.3, <3.8.16
>=3.9.0, <3.9.16
>=3.10.0, <3.10.9
3.7.16
3.8.16
3.9.16
3.10.9
bitnami python-min
>=3.7.3, <3.7.16
>=3.8.3, <3.8.16
>=3.9.0, <3.9.16
>=3.10.0, <3.10.9
3.7.16
3.8.16
3.9.16
3.10.9

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.