synced 10 MIN AGO
01 Record

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 multiprocessing library, when used with the forkserver start

HighPUBLISHEDCNA: mitre
CNA base score7.8 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

02 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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.76% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 55.1% of scored records. A rank, not a probability.
NVD base score
7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-11-06 00:00Z3 YR AGO
Last updated
2025-11-03 21:46Z11 MO AGO
Reserved
2022-10-14
Assigning CNA
mitre
Record state
PUBLISHED
Severity
High (CVSS 7.8)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-502Deserialization of Untrusted DataBase
  • CWE-269Improper Privilege ManagementClass
Data version
5.2
Document digest
ea5ddc56d19945eae193e01c0eb6fd4fccec29757d02d5263575634a2ba26a93

05 Affected products

VendorProductVersionsPlatforms
fedoraprojectfedoraNot specified—
pythonpythonNot specified—
redhatenterprise_linuxNot specified—
redhatopenshiftNot specified—
redhatrhel_eusNot specified—
redhatrhel_software_collectionsNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • python39
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-PyMySQL
    Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
    • Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
  • python39-cryptography
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.3.1-2.module_el8.6.0+2780+a40f65e1
    • Affected before 3.3.1-2.module_el8.6.0+3248+c431e88c
  • python39-devel
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-idle
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-idna
    Fixed in 2.10-3.module_el8.6.0+2780+a40f65e1
  • python39-libs
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-lxml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
    • Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
  • python39-mod_wsgi
    Fixed in 4.7.1-5.module_el8.7.0+3344+df07b58a
  • python39-numpy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-numpy-doc
    Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
  • python39-numpy-f2py
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-pip
    Fixed in 20.2.4-7.module_el8.6.0+2780+a40f65e1
  • python39-pip-wheel
    Fixed in 20.2.4-7.module_el8.6.0+2780+a40f65e1
  • python39-ply
    Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-psutil
    Fixed

    A version is affected if any line below covers it.

    • Affected before 5.8.0-4.module_el8.6.0+2780+a40f65e1
    • Affected before 5.8.0-4.module_el8.6.0+3248+c431e88c
  • python39-psycopg2
    Fixed in 2.8.6-2.module_el8.7.0+3344+df07b58a
  • python39-psycopg2-doc
    Fixed in 2.8.6-2.module_el8.7.0+3344+df07b58a
  • python39-psycopg2-tests
    Fixed in 2.8.6-2.module_el8.7.0+3344+df07b58a
  • python39-pycparser
    Fixed in 2.20-3.module_el8.6.0+2780+a40f65e1
  • python39-pysocks
    Fixed in 1.7.1-4.module_el8.6.0+2780+a40f65e1
  • python39-pyyaml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 5.4.1-1.module_el8.6.0+2780+a40f65e1
    • Affected before 5.4.1-1.module_el8.6.0+3248+c431e88c
  • python39-requests
    Fixed in 2.25.0-2.module_el8.6.0+2780+a40f65e1
  • python39-rpm-macros
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-scipy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.5.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.5.4-3.module_el8.6.0+3248+c431e88c
  • python39-setuptools
    Fixed in 50.3.2-4.module_el8.6.0+2780+a40f65e1
  • python39-setuptools-wheel
    Fixed in 50.3.2-4.module_el8.6.0+2780+a40f65e1
  • python39-six
    Fixed in 1.15.0-3.module_el8.6.0+2780+a40f65e1
  • python39-test
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-tkinter
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-toml
    Fixed in 0.10.1-5.module_el8.6.0+2780+a40f65e1
  • python39-urllib3
    Fixed in 1.25.10-4.module_el8.6.0+2780+a40f65e1
  • python39-wheel
    Fixed in 1:0.35.1-4.module_el8.6.0+2780+a40f65e1
  • python39-wheel-wheel
    Fixed in 1:0.35.1-4.module_el8.6.0+2780+a40f65e1

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • python-unversioned-command
    Fixed in 3.9.14-1.el9_1.1
  • python3
    Fixed in 3.9.14-1.el9_1.1
  • python3-debug
    Fixed in 3.9.14-1.el9_1.1
  • python3-devel
    Fixed in 3.9.14-1.el9_1.1
  • python3-idle
    Fixed in 3.9.14-1.el9_1.1
  • python3-libs
    Fixed in 3.9.14-1.el9_1.1
  • python3-test
    Fixed in 3.9.14-1.el9_1.1
  • python3-tkinter
    Fixed in 3.9.14-1.el9_1.1

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • python39
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-PyMySQL
    Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
    • Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-chardet
    Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
  • python39-cryptography
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.3.1-2.module_el8.6.0+2780+a40f65e1
    • Affected before 3.3.1-2.module_el8.6.0+3248+c431e88c
  • python39-devel
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-idle
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-idna
    Fixed in 2.10-3.module_el8.6.0+2780+a40f65e1
  • python39-libs
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-lxml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
    • Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
  • python39-mod_wsgi
    Fixed in 4.7.1-5.module_el8.7.0+3344+df07b58a
  • python39-numpy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-numpy-doc
    Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
  • python39-numpy-f2py
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
  • python39-pip
    Fixed in 20.2.4-7.module_el8.6.0+2780+a40f65e1
  • python39-pip-wheel
    Fixed in 20.2.4-7.module_el8.6.0+2780+a40f65e1
  • python39-ply
    Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-psutil
    Fixed

    A version is affected if any line below covers it.

    • Affected before 5.8.0-4.module_el8.6.0+2780+a40f65e1
    • Affected before 5.8.0-4.module_el8.6.0+3248+c431e88c
  • python39-psycopg2
    Fixed in 2.8.6-2.module_el8.7.0+3344+df07b58a
  • python39-psycopg2-doc
    Fixed in 2.8.6-2.module_el8.7.0+3344+df07b58a
  • python39-psycopg2-tests
    Fixed in 2.8.6-2.module_el8.7.0+3344+df07b58a
  • python39-pycparser
    Fixed in 2.20-3.module_el8.6.0+2780+a40f65e1
  • python39-pysocks
    Fixed in 1.7.1-4.module_el8.6.0+2780+a40f65e1
  • python39-pyyaml
    Fixed

    A version is affected if any line below covers it.

    • Affected before 5.4.1-1.module_el8.6.0+2780+a40f65e1
    • Affected before 5.4.1-1.module_el8.6.0+3248+c431e88c
  • python39-requests
    Fixed in 2.25.0-2.module_el8.6.0+2780+a40f65e1
  • python39-rpm-macros
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-scipy
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.5.4-3.module_el8.6.0+2780+a40f65e1
    • Affected before 1.5.4-3.module_el8.6.0+3248+c431e88c
  • python39-setuptools
    Fixed in 50.3.2-4.module_el8.6.0+2780+a40f65e1
  • python39-setuptools-wheel
    Fixed in 50.3.2-4.module_el8.6.0+2780+a40f65e1
  • python39-six
    Fixed in 1.15.0-3.module_el8.6.0+2780+a40f65e1
  • python39-test
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-tkinter
    Fixed in 3.9.13-2.module_el8.7.0+3351+e02cdf9b
  • python39-toml
    Fixed in 0.10.1-5.module_el8.6.0+2780+a40f65e1
  • python39-urllib3
    Fixed in 1.25.10-4.module_el8.6.0+2780+a40f65e1
  • python39-wheel
    Fixed in 1:0.35.1-4.module_el8.6.0+2780+a40f65e1
  • python39-wheel-wheel
    Fixed in 1:0.35.1-4.module_el8.6.0+2780+a40f65e1

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • python-unversioned-command
    Fixed in 3.9.14-1.el9_1.1
  • python3
    Fixed in 3.9.14-1.el9_1.1
  • python3-debug
    Fixed in 3.9.14-1.el9_1.1
  • python3-devel
    Fixed in 3.9.14-1.el9_1.1
  • python3-idle
    Fixed in 3.9.14-1.el9_1.1
  • python3-libs
    Fixed in 3.9.14-1.el9_1.1
  • python3-test
    Fixed in 3.9.14-1.el9_1.1
  • python3-tkinter
    Fixed in 3.9.14-1.el9_1.1

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • pypy3
    Fixed in 7.3.11+dfsg-1
  • python3.11
    Fixed in 3.11.0-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • pypy3
    Fixed in 7.3.11+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • pypy3
    Fixed in 7.3.11+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • python3.10
    Fixed in 3.10.6-1~22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 20.04 LTS

  • python3.9
    Fixed in 3.9.5-3ubuntu0~20.04.1+esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 22.04 LTS

  • python3.11
    Fixed in 3.11.0~rc1-1~22.04.1~esm1
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.