Skip to content
Fencer Vulns
high 7.3

CVE-2022-21797 json

Arbitrary Code Execution

published 2022-09-26 4 y ago modified 2026-06-17 4 mo ago also GHSA-6hrg-qmvc-2xh8 , PYSEC-2022-288 , EUVD-2022-0128

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi joblib 1.2.0
  • n/a joblib 1.2.0
  • joblib_project joblib 1.2.0
  • joblib Debian 14, Debian 13, Debian 12 1.2.0-1

debian advisories DEBIAN-CVE-2022-21797

  • python-joblib openSUSE Tumbleweed 1.4.2-2.1
  • python-joblib Package Hub 15 SP3, openSUSE Leap 15.3 0.16.0-bp153.2.3.1

opensuse advisories openSUSE-SU-2025:14914-1openSUSE-SU-2022:10214-1

  • py3-joblib Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.2.0-r0

alpine advisories ALPINE-CVE-2022-21797

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-21797 updated cvss 7.3

joblib: Arbitrary Code Execution in joblib

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
2 y ago

Exploit prediction

2.63% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • security.snyk.io https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/joblib/joblib/issues/1128 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
CNA 3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi joblib
<1.2.0
1.2.0

Affected products

  • n/a joblib
  • fedoraproject fedora
  • debian debian_linux
  • joblib_project joblib

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.