{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-42919 in the wild and no public exploit code.","fix":"Upgrade libpython to a fixed version for your release line: 3.7.16, 3.8.16, 3.9.16 or 3.10.9.","what":"CVE-2022-42919 is a high-severity unsafe deserialization vulnerability in Fedoraproject Fedora, published on 6 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-42919 and fix it if it is affected.\n\nWhat it is: CVE-2022-42919 is a high-severity unsafe deserialization vulnerability in Fedoraproject Fedora, published on 6 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-42919 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected from 3.7.3; fixed in 3.7.16, 3.8.16, 3.9.16, 3.10.9\n- python (Bitnami): affected from 3.7.3; fixed in 3.7.16, 3.8.16, 3.9.16, 3.10.9\n- python-min (Bitnami): affected from 3.7.3; fixed in 3.7.16, 3.8.16, 3.9.16, 3.10.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-42919/ (Markdown: https://insights.sbomify.com/CVE-2022-42919/index.md)","id":"CVE-2022-42919","markdown":"https://insights.sbomify.com/CVE-2022-42919/index.md","name":"CVE-2022-42919","record":{"aliases":["ALPINE-CVE-2022-42919","ALSA-2022:8492","ALSA-2022:8493","AZL-11394","BIT-libpython-2022-42919","BIT-python-2022-42919","BIT-python-min-2022-42919","DEBIAN-CVE-2022-42919","GHSA-hrxf-3584-q6p6","OESA-2022-2097","PSF-2022-9","RHSA-2022:8492","RHSA-2022:8493","RLSA-2022:8492","RLSA-2022:8493","ROOT-OS-UBUNTU-2204-CVE-2022-42919","UBUNTU-CVE-2022-42919","USN-5713-1","openSUSE-SU-2024:12453-1","openSUSE-SU-2024:12481-1","openSUSE-SU-2024:12482-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Python multiprocessing library","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges via unsafe pickle deserialization in Python's multiprocessing forkserver on Linux when using non-default abstract sockets.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"python","vendor":"python"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_eus:8.4::appstream","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.0::baseos","Red Hat:rhel_eus:9.0::crb","Rocky Linux:8","Rocky Linux:9","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Deserialization in n/a","id":"CVE-2022-42919","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","python:python"],"type":"deserialization","year":"2022"},"n_packages":359,"n_references":14,"next":{"headline":"Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writing","id":"CVE-2022-42920"},"packages":[{"ecosystem":"Bitnami","fixed":["3.7.16","3.8.16","3.9.16","3.10.9"],"introduced":["3.7.3","3.8.3","3.9.0","3.10.0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2022-42919"},{"ecosystem":"Bitnami","fixed":["3.7.16","3.8.16","3.9.16","3.10.9"],"introduced":["3.7.3","3.8.3","3.9.0","3.10.0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2022-42919"},{"ecosystem":"Bitnami","fixed":["3.7.16","3.8.16","3.9.16","3.10.9"],"introduced":["3.7.3","3.8.3","3.9.0","3.10.0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2022-42919"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.13-2.module_el8.7.0+3351+e02cdf9b"],"introduced":["0"],"last_affected":[],"package":"python39","purl":"pkg:rpm/almalinux/python39","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.1-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-PyMySQL","purl":"pkg:rpm/almalinux/python39-PyMySQL","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-cffi","purl":"pkg:rpm/almalinux/python39-cffi","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.14.3-2.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-cffi","purl":"pkg:rpm/almalinux/python39-cffi","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.0.4-19.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-chardet","purl":"pkg:rpm/almalinux/python39-chardet","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.1-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-cryptography","purl":"pkg:rpm/almalinux/python39-cryptography","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.3.1-2.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-cryptography","purl":"pkg:rpm/almalinux/python39-cryptography","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.13-2.module_el8.7.0+3351+e02cdf9b"],"introduced":["0"],"last_affected":[],"package":"python39-devel","purl":"pkg:rpm/almalinux/python39-devel","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.13-2.module_el8.7.0+3351+e02cdf9b"],"introduced":["0"],"last_affected":[],"package":"python39-idle","purl":"pkg:rpm/almalinux/python39-idle","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["2.10-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-idna","purl":"pkg:rpm/almalinux/python39-idna","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.13-2.module_el8.7.0+3351+e02cdf9b"],"introduced":["0"],"last_affected":[],"package":"python39-libs","purl":"pkg:rpm/almalinux/python39-libs","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["4.6.5-1.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-lxml","purl":"pkg:rpm/almalinux/python39-lxml","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["4.6.5-1.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-lxml","purl":"pkg:rpm/almalinux/python39-lxml","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["4.7.1-5.module_el8.7.0+3344+df07b58a"],"introduced":["0"],"last_affected":[],"package":"python39-mod_wsgi","purl":"pkg:rpm/almalinux/python39-mod_wsgi","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy","purl":"pkg:rpm/almalinux/python39-numpy","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-numpy","purl":"pkg:rpm/almalinux/python39-numpy","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy-doc","purl":"pkg:rpm/almalinux/python39-numpy-doc","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-numpy-f2py","purl":"pkg:rpm/almalinux/python39-numpy-f2py","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.19.4-3.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-numpy-f2py","purl":"pkg:rpm/almalinux/python39-numpy-f2py","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["20.2.4-7.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pip","purl":"pkg:rpm/almalinux/python39-pip","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["20.2.4-7.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pip-wheel","purl":"pkg:rpm/almalinux/python39-pip-wheel","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.11-10.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-ply","purl":"pkg:rpm/almalinux/python39-ply","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["5.8.0-4.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-psutil","purl":"pkg:rpm/almalinux/python39-psutil","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["5.8.0-4.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-psutil","purl":"pkg:rpm/almalinux/python39-psutil","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["2.8.6-2.module_el8.7.0+3344+df07b58a"],"introduced":["0"],"last_affected":[],"package":"python39-psycopg2","purl":"pkg:rpm/almalinux/python39-psycopg2","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["2.8.6-2.module_el8.7.0+3344+df07b58a"],"introduced":["0"],"last_affected":[],"package":"python39-psycopg2-doc","purl":"pkg:rpm/almalinux/python39-psycopg2-doc","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["2.8.6-2.module_el8.7.0+3344+df07b58a"],"introduced":["0"],"last_affected":[],"package":"python39-psycopg2-tests","purl":"pkg:rpm/almalinux/python39-psycopg2-tests","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["2.20-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pycparser","purl":"pkg:rpm/almalinux/python39-pycparser","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.7.1-4.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pysocks","purl":"pkg:rpm/almalinux/python39-pysocks","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["5.4.1-1.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-pyyaml","purl":"pkg:rpm/almalinux/python39-pyyaml","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["5.4.1-1.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-pyyaml","purl":"pkg:rpm/almalinux/python39-pyyaml","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["2.25.0-2.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-requests","purl":"pkg:rpm/almalinux/python39-requests","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["3.9.13-2.module_el8.7.0+3351+e02cdf9b"],"introduced":["0"],"last_affected":[],"package":"python39-rpm-macros","purl":"pkg:rpm/almalinux/python39-rpm-macros","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.5.4-3.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-scipy","purl":"pkg:rpm/almalinux/python39-scipy","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["1.5.4-3.module_el8.6.0+3248+c431e88c"],"introduced":["0"],"last_affected":[],"package":"python39-scipy","purl":"pkg:rpm/almalinux/python39-scipy","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["50.3.2-4.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-setuptools","purl":"pkg:rpm/almalinux/python39-setuptools","source":"ALSA-2022:8492"},{"ecosystem":"AlmaLinux:8","fixed":["50.3.2-4.module_el8.6.0+2780+a40f65e1"],"introduced":["0"],"last_affected":[],"package":"python39-setuptools-wheel","purl":"pkg:rpm/almalinux/python39-setuptools-wheel","source":"ALSA-2022:8492"}],"prev":{"headline":"Race condition in FRRouting","id":"CVE-2022-42917"},"products":["n/a"],"published":"2022-11-06","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["n/a"]},"summary":"Local attackers can escalate privileges via unsafe pickle deserialization in Python's multiprocessing forkserver on Linux when using non-default abstract sockets.","url":"https://insights.sbomify.com/CVE-2022-42919/"}