Every CVE Search/ Get API key

CVE-2022-21797

Arbitrary Code Execution

7.3 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

2.63%Up 1.1 points since Sep 26, 2022
90%50%10%1%

What each source reports

CVE List Score used 7.3

Arbitrary Code Execution

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.

Record
CVE-2022-21797
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Weakness
CWE-94
Updated
2026-11-02
EUVDEUVD-2022-0128 7.3

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.

Record
EUVD-2022-0128
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Updated
2026-11-03
GitHub AdvisoriesGHSA-6hrg-qmvc-2xh8 9.3

joblib vulnerable to arbitrary code execution

The package joblib from 0 and before 1.2.0 is vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement.

Record
GHSA-6hrg-qmvc-2xh8
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
NVD 7.3

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.

Record
CVE-2022-21797
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVALPINE-CVE-2022-21797 9.8

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.

Record
ALPINE-CVE-2022-21797
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 7.3

Arbitrary Code Execution

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.

Record
CVE-2022-21797
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2022-21797 9.8

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.

Record
DEBIAN-CVE-2022-21797
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSVGHSA-6hrg-qmvc-2xh8 9.3

joblib vulnerable to arbitrary code execution

The package joblib from 0 and before 1.2.0 is vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement.

Record
GHSA-6hrg-qmvc-2xh8
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSVOESA-2022-1990 7.3

python-joblib security update

Joblib is a set of tools to provide lightweight pipelining in Python.

Security Fix(es):

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.(CVE-2022-21797)

Record
OESA-2022-1990
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2022-21797 7.3

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.

Record
UBUNTU-CVE-2022-21797
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2022-0375 No score

Updated python-joblib packages fix security vulnerability

Arbitrary Code Execution in joblib (CVE-2022-21797)

Record
MGASA-2022-0375
Updated
2026-11-02
OSVopenSUSE-SU-2022:10214-1 No score

Security update for python-joblib

This update for python-joblib fixes the following issues:

  • CVE-2022-21797: Fixed arbitrary code execution in joblib (boo#1204232)
Record
openSUSE-SU-2022:10214-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12401-1 No score

python310-joblib-1.2.0-1.1 on GA media

These are all security issues fixed in the python310-joblib-1.2.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12401-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:14914-1 No score

python311-joblib-1.4.2-2.1 on GA media

These are all security issues fixed in the python311-joblib-1.4.2-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:14914-1
Updated
2026-11-02
OSVPYSEC-2022-288 No score

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.

Record
PYSEC-2022-288
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
joblib
PyPI
before 1.2.0
1.2.0
py3-joblib
Alpine:v3.17
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.18
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.19
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.20
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.21
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.22
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.23
before 1.2.0-r0
1.2.0-r0
py3-joblib
Alpine:v3.24
before 1.2.0-r0
1.2.0-r0
joblib
Debian:12
before 1.2.0-1
1.2.0-1
Show 17 moreShow less
Affected packages
PackageAffectedFixed
joblib
Debian:13
before 1.2.0-1
1.2.0-1
joblib
Debian:14
before 1.2.0-1
1.2.0-1
joblib
Debian:10
before 0.13.0-2+deb10u2, plus listed versions
0.13.0-20.13.0-2+deb10u1
0.13.0-2+deb10u2
joblib
PyPI
before 1.2.0, plus listed versions
0.10.00.10.20.10.30.110.11a3
Show 45 moreShow less
0.12.00.12.10.12.20.12.30.12.40.12.50.13.00.13.10.13.20.14.00.14.10.15.00.15.10.16.00.17.00.1a0.1a.dev0.2a.dev0.3.1a.dev0.3.2.dev0.3.2a.dev0.3.2b.dev0.3.2c.dev0.3.2d0.3.2d.dev0.3.2e.dev0.3.2f0.3.2f.dev0.3.2g.dev0.3.3a.dev0.3.3b.dev0.3.3c.dev0.3.4.dev0.3.5.dev0.3.6.dev0.3.7.dev0.3a.dev0.4.0.dev0.4.1.dev0.4.2.dev0.4.3.dev0.4.4.dev0.4.5.dev0.4.6.dev0.5.0.dev
1.2.0
python-joblib
Mageia:8
before 1.2.0-1.mga8
1.2.0-1.mga8
python-joblib
openEuler:20.03-LTS-SP1
before 0.14.0-4.oe1
0.14.0-4.oe1
python-joblib
openEuler:20.03-LTS-SP3
before 0.14.0-4.oe1
0.14.0-4.oe1
python-joblib
openEuler:22.03-LTS
before 1.0.0-2.oe2203
1.0.0-2.oe2203
joblib
PyPI
before 1.2.0, plus listed versions
0.10.00.10.20.10.30.110.11a3
Show 45 moreShow less
0.12.00.12.10.12.20.12.30.12.40.12.50.13.00.13.10.13.20.14.00.14.10.15.00.15.10.16.00.17.00.1a0.1a.dev0.2a.dev0.3.1a.dev0.3.2.dev0.3.2a.dev0.3.2b.dev0.3.2c.dev0.3.2d0.3.2d.dev0.3.2e.dev0.3.2f0.3.2f.dev0.3.2g.dev0.3.3a.dev0.3.3b.dev0.3.3c.dev0.3.4.dev0.3.5.dev0.3.6.dev0.3.7.dev0.3a.dev0.4.0.dev0.4.1.dev0.4.2.dev0.4.3.dev0.4.4.dev0.4.5.dev0.4.6.dev0.5.0.dev
1.2.0
joblib
Ubuntu:14.04:LTS
All versions, plus listed versions
0.7.0+git14-g3e5784c-10.7.1-1
None known
joblib
Ubuntu:16.04:LTS
All versions, plus listed versions
0.8.3-10.9.2-10.9.3-10.9.4-1
None known
joblib
Ubuntu:18.04:LTS
All versions, plus listed versions
0.10.3+git55-g660fe5d-10.11-1
None known
joblib
Ubuntu:20.04:LTS
All versions, plus listed versions
0.13.0-20.14.0-0ubuntu10.14.0-0.20.14.0-20.14.0-3
None known
joblib
Ubuntu:22.04:LTS
All versions, plus listed versions
0.17.0-40.17.0-4ubuntu1
None known
python-joblib
SUSE:Package Hub 15 SP3
before 0.16.0-bp153.2.3.1
0.16.0-bp153.2.3.1
python-joblib
openSUSE:Leap 15.3
before 0.16.0-bp153.2.3.1
0.16.0-bp153.2.3.1
python-joblib
openSUSE:Tumbleweed
before 1.4.2-2.1
1.4.2-2.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-21797 is a high vulnerability (CVSS 7.3) in Joblib Project Joblib, published September 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.63%, the 85th percentile. Fixed in joblib 1.2.0.

References

Show 24 moreShow less
This page doesn't list everything

Left out here: 110 versions. The JSON record has them.

MoveEnter Open