CVE-2022-21797 Affecting joblib package, versions <0.14.0-3ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.8% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-JOBLIB-3033666
  • published13 Nov 2026
  • disclosed26 Sept 2022

Introduced: 26 Sep 2022

CVE-2022-21797  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 joblib to version 0.14.0-3ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream joblib package and not the joblib package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1