{"id":"CVE-2022-21797","aliases":["GHSA-6hrg-qmvc-2xh8","PYSEC-2022-288"],"url":"https://o3.security/vulnerability/CVE-2022-21797","summary":"Arbitrary Code Execution","details":"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.","published":"2022-09-26T05:05:17.410Z","modified":"2026-08-12T03:51:40.726873299Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P"},"epss":{"score":0.02104,"percentile":0.80737,"asOf":"2026-09-15"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"PyPI","name":"joblib","fixedVersion":"1.2.0"}],"fix":{"url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059","label":"joblib/joblib@b90f10e"},"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21797.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21797"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-01"},{"type":"REPORT","url":"https://github.com/joblib/joblib/issues/1128"},{"type":"FIX","url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059"},{"type":"FIX","url":"https://github.com/joblib/joblib/pull/1321"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00027.html"},{"type":"WEB","url":"https://github.com/joblib/joblib/pull/1327"},{"type":"WEB","url":"https://github.com/joblib/joblib/pull/1352"},{"type":"WEB","url":"https://github.com/joblib/joblib/commit/6638b9e9711ad1ebbf6dd95aa7cee0dca9897b42"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/joblib/PYSEC-2022-288.yaml"},{"type":"PACKAGE","url":"https://github.com/joblib/joblib"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:40.726873299Z"}}