{"api_version":"1","generated_at":"2026-07-23T13:20:08+00:00","cve":"CVE-2022-21797","urls":{"html":"https://cve.report/CVE-2022-21797","api":"https://cve.report/api/cve/CVE-2022-21797.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21797","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21797"},"summary":{"title":"CVE-2022-21797","description":"The package joblib from 0 and before 1.2.0 are vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-09-26 05:15:00","updated_at":"2024-01-02 16:15:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/joblib/joblib/pull/1321","name":"N/A","refsource":"CONFIRM","tags":[],"title":"FIX make sure pre_dispatch cannot do arbitrary code execution by adrinjalali · Pull Request #1321 · joblib/joblib · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/","name":"FEDORA-2022-c0bfe37ae5","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: python-joblib-1.2.0-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/","name":"FEDORA-2022-c0bfe37ae5","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: python-joblib-1.2.0-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Arbitrary Code Execution in joblib | CVE-2022-21797 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html","name":"[debian-lts-announce] 20230330 [SECURITY] [DLA 3193-2] joblib security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3193-2] joblib security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html","name":"[debian-lts-announce] 20221117 [SECURITY] [DLA 3193-1] joblib security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3193-1] joblib security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/","name":"FEDORA-2022-c83ce1c000","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: python-joblib-1.2.0-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/joblib/joblib/issues/1128","name":"N/A","refsource":"CONFIRM","tags":[],"title":"The potential security vulnerability for the flag pre_dispatch in Parallel() class due to the eval() statement. · Issue #1128 · joblib/joblib · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059","name":"N/A","refsource":"CONFIRM","tags":[],"title":"FIX make sure pre_dispatch cannot do arbitrary code execution (#1321) · joblib/joblib@b90f10e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202401-01","name":"GLSA-202401-01","refsource":"","tags":[],"title":"","mime":"","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/","name":"FEDORA-2022-c83ce1c000","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: python-joblib-1.2.0-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21797","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21797","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Jim Lin","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"21797","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21797","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21797","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"21797","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"joblib_project","cpe5":"joblib","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-21797","qid":"181228","title":"Debian Security Update for joblib (DLA 3193-1)"},{"cve":"CVE-2022-21797","qid":"181644","title":"Debian Security Update for joblib (DLA 3193-2)"},{"cve":"CVE-2022-21797","qid":"283192","title":"Fedora Security Update for python (FEDORA-2022-c0bfe37ae5)"},{"cve":"CVE-2022-21797","qid":"502923","title":"Alpine Linux Security Update for py3-joblib"},{"cve":"CVE-2022-21797","qid":"505802","title":"Alpine Linux Security Update for py3-joblib"},{"cve":"CVE-2022-21797","qid":"691121","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for py39 (845f8430-d0ee-4134-ae35-480a3e139b8a)"},{"cve":"CVE-2022-21797","qid":"710819","title":"Gentoo Linux Joblib Arbitrary Code Execution Vulnerability (GLSA 202401-01)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-09-26T05:00:01.582890Z","ID":"CVE-2022-21797","STATE":"PUBLIC","TITLE":"Arbitrary Code Execution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"joblib","version":{"version_data":[{"version_affected":">=","version_value":"0"},{"version_affected":"<","version_value":"1.2.0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Arbitrary Code Execution"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033","name":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033"},{"refsource":"MISC","url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059","name":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059"},{"refsource":"MISC","url":"https://github.com/joblib/joblib/issues/1128","name":"https://github.com/joblib/joblib/issues/1128"},{"refsource":"MISC","url":"https://github.com/joblib/joblib/pull/1321","name":"https://github.com/joblib/joblib/pull/1321"},{"refsource":"FEDORA","name":"FEDORA-2022-c0bfe37ae5","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/"},{"refsource":"FEDORA","name":"FEDORA-2022-c83ce1c000","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20221117 [SECURITY] [DLA 3193-1] joblib security update","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230330 [SECURITY] [DLA 3193-2] joblib security update","url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html"}]},"description":{"description_data":[{"lang":"eng","value":"The package joblib from 0 and before 1.2.0 are vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Jim Lin"}]},"nvd":{"publishedDate":"2022-09-26 05:15:00","lastModifiedDate":"2024-01-02 16:15:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:joblib_project:joblib:*:*:*:*:*:python:*:*","versionEndExcluding":"1.1.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}