{"id":"UBUNTU-CVE-2022-21797","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.","modified":"2026-11-24T14:52:35.977730284Z","published":"2022-09-26T05:15:00Z","related":["USN-9107-1"],"upstream":["CVE-2022-21797"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-21797"},{"type":"REPORT","url":"https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059"},{"type":"REPORT","url":"https://github.com/joblib/joblib/issues/1128"},{"type":"REPORT","url":"https://github.com/joblib/joblib/pull/1321"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-21797"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9107-1"}],"affected":[{"package":{"name":"joblib","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/joblib?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-1ubuntu0.1~esm1"}]}],"versions":["0.7.0+git14-g3e5784c-1","0.7.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.7.1-1ubuntu0.1~esm1","binary_name":"python-joblib"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21797.json"}},{"package":{"name":"joblib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/joblib?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.4-1ubuntu0.1~esm1"}]}],"versions":["0.8.3-1","0.9.2-1","0.9.3-1","0.9.4-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"0.9.4-1ubuntu0.1~esm1","binary_name":"python-joblib"},{"binary_version":"0.9.4-1ubuntu0.1~esm1","binary_name":"python3-joblib"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21797.json"}},{"package":{"name":"joblib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/joblib?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-1ubuntu0.1~esm1"}]}],"versions":["0.10.3+git55-g660fe5d-1","0.11-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python-joblib","binary_version":"0.11-1ubuntu0.1~esm1"},{"binary_name":"python3-joblib","binary_version":"0.11-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21797.json"}},{"package":{"name":"joblib","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/joblib?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.0-4ubuntu1+esm1"}]}],"versions":["0.17.0-4","0.17.0-4ubuntu1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"python3-joblib","binary_version":"0.17.0-4ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21797.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}