{"id":"CVE-2022-21797","state":"PUBLISHED","title":"Arbitrary Code Execution","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.","publishedAt":"2022-09-26T05:05:17.410Z","updatedAt":"2024-09-17T04:24:12.503Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","source":"snyk"},"assigner":"snyk","products":["n/a joblib"],"affected":[{"vendor":"n/a","product":"joblib","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"1.2.0","versionType":"custom"}]}],"references":["https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033","https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059","https://github.com/joblib/joblib/issues/1128","https://github.com/joblib/joblib/pull/1321","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/","https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html","https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html","https://security.gentoo.org/glsa/202401-01"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:49:35.025Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/21xxx/CVE-2022-21797.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-21797","state":"PUBLISHED","datePublished":"2022-09-26T05:05:17.410Z","dateUpdated":"2024-09-17T04:24:12.503Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Arbitrary Code Execution","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"joblib","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"1.2.0","versionType":"custom"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033"},{"url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059"},{"url":"https://github.com/joblib/joblib/issues/1128"},{"url":"https://github.com/joblib/joblib/pull/1321"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/","name":"FEDORA-2022-c0bfe37ae5","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/","name":"FEDORA-2022-c83ce1c000","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html","name":"[debian-lts-announce] 20221117 [SECURITY] [DLA 3193-1] joblib security update","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html","name":"[debian-lts-announce] 20230330 [SECURITY] [DLA 3193-2] joblib security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202401-01","name":"GLSA-202401-01","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"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","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","baseScore":7.3,"temporalScore":6.9,"baseSeverity":"HIGH","temporalSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Arbitrary Code Execution"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2024-01-02T16:06:09.733Z"},"datePublic":"2022-09-26T00:00:00.000Z","credits":[{"lang":"en","value":"Jim Lin"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033","tags":["x_transferred"]},{"url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059","tags":["x_transferred"]},{"url":"https://github.com/joblib/joblib/issues/1128","tags":["x_transferred"]},{"url":"https://github.com/joblib/joblib/pull/1321","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/","name":"FEDORA-2022-c0bfe37ae5","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/","name":"FEDORA-2022-c83ce1c000","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html","name":"[debian-lts-announce] 20221117 [SECURITY] [DLA 3193-1] joblib security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html","name":"[debian-lts-announce] 20230330 [SECURITY] [DLA 3193-2] joblib security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202401-01","name":"GLSA-202401-01","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T02:53:36.168Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"fedoraproject","product":"fedora","defaultStatus":"unknown","versions":[{"version":"36","status":"affected"}],"cpes":["cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"]},{"vendor":"debian","product":"debian_linux","defaultStatus":"unknown","versions":[{"version":"10.0","status":"affected"}],"cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"]},{"vendor":"fedoraproject","product":"fedora","defaultStatus":"unknown","versions":[{"version":"37","status":"affected"}],"cpes":["cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*"]},{"vendor":"joblib_project","product":"joblib","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.2.0","versionType":"custom"}],"cpes":["cpe:2.3:a:joblib_project:joblib:*:*:*:*:*:python:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-23T03:55:38.496202Z","id":"CVE-2022-21797","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-23T14:49:09.564Z"}}]}}}