CVE catalog

CVE-2022-21797

joblib affected and fixed versions

[CVE catalog]

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.

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.63% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixiejoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debiantrixiejoblib1.4.2-4Fixed[CVE-2022-21797]
Debiansidjoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debiansidjoblib1.5.3-2Fixed[CVE-2022-21797]
Debianforkyjoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debianforkyjoblib1.5.3-2Fixed[CVE-2022-21797]
Debianbookwormjoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debianbookwormjoblib1.2.0-4+deb12u1Fixed[CVE-2022-21797]

Showing 8 fix observations. All 26 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormjoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debianbookwormjoblib1.2.0-4+deb12u1Fixed[CVE-2022-21797]
Debianforkyjoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debianforkyjoblib1.5.3-2Fixed[CVE-2022-21797]
Debiansidjoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debiansidjoblib1.5.3-2Fixed[CVE-2022-21797]
Debiantrixiejoblib1.2.0-1FixedDistribution-reported fixed boundary[CVE-2022-21797]
Debiantrixiejoblib1.4.2-4Fixed[CVE-2022-21797]
Opensuseleap 15.3python-joblib0.16.0-bp153.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2022:10214-1]
Opensusetumbleweedpython-joblib1.4.2-2.1UnknownSource applicability is not established[OPENSUSE-SU-2025:14914-1]
Susepackage hub 15 sp3python-joblib0.16.0-bp153.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2022:10214-1]
Ubuntu14.04joblib0.7.0+git14-g3e5784c-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu14.04joblib0.7.1-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu16.04joblib0.8.3-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu16.04joblib0.9.2-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu16.04joblib0.9.3-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu16.04joblib0.9.4-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu18.04joblib0.10.3+git55-g660fe5d-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu18.04joblib0.11-1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu20.04joblib0.13.0-2UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu20.04joblib0.14.0-0.2UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu20.04joblib0.14.0-0ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu20.04joblib0.14.0-2UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu20.04joblib0.14.0-3UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu22.04joblib0.17.0-4UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Ubuntu22.04joblib0.17.0-4ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2022-21797]
Original provider fields
{
  "package_releases": [
    {
      "name": "joblib",
      "status": "fixed",
      "release": "sid",
      "version": "1.5.3-2"
    },
    {
      "name": "joblib",
      "status": "fixed",
      "release": "forky",
      "version": "1.5.3-2"
    },
    {
      "name": "joblib",
      "status": "fixed",
      "release": "trixie",
      "version": "1.4.2-4"
    },
    {
      "name": "joblib",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.2.0-4+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1020820,
      "name": "joblib",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.0-1"
    },
    {
      "bug": 1020820,
      "name": "joblib",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.0-1"
    },
    {
      "bug": 1020820,
      "name": "joblib",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.0-1"
    },
    {
      "bug": 1020820,
      "name": "joblib",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.2.0-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "python-joblib",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.16.0-bp153.2.3.1"
            }
          ]
        }
      ],
      "release": "package hub 15 sp3",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2022:10214-1",
      "fixed_version": "0.16.0-bp153.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2022:10214-1",
      "provider_updated_at": "2026-02-04T03:43:08.319519Z",
      "applicability_unknown": true
    },
    {
      "name": "python-joblib",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.16.0-bp153.2.3.1"
            }
          ]
        }
      ],
      "release": "leap 15.3",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2022:10214-1",
      "fixed_version": "0.16.0-bp153.2.3.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2022:10214-1",
      "provider_updated_at": "2026-02-04T03:43:08.319519Z",
      "applicability_unknown": true
    },
    {
      "name": "python-joblib",
      "distro": "opensuse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.2-2.1"
            }
          ]
        }
      ],
      "release": "tumbleweed",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2025:14914-1",
      "fixed_version": "1.4.2-2.1",
      "provider_source": "pypi",
      "provider_record_id": "OPENSUSE-SU-2025:14914-1",
      "provider_updated_at": "2026-02-04T03:13:05.641421Z",
      "applicability_unknown": true
    },
    {
      "name": "joblib",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "14.04",
      "versions": [
        "0.7.0+git14-g3e5784c-1",
        "0.7.1-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21797",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-21797",
      "provider_updated_at": "2025-10-24T04:53:26Z",
      "applicability_unknown": true
    },
    {
      "name": "joblib",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "16.04",
      "versions": [
        "0.8.3-1",
        "0.9.2-1",
        "0.9.3-1",
        "0.9.4-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21797",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-21797",
      "provider_updated_at": "2025-10-24T04:53:26Z",
      "applicability_unknown": true
    },
    {
      "name": "joblib",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "0.10.3+git55-g660fe5d-1",
        "0.11-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21797",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-21797",
      "provider_updated_at": "2025-10-24T04:53:26Z",
      "applicability_unknown": true
    },
    {
      "name": "joblib",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "0.13.0-2",
        "0.14.0-0ubuntu1",
        "0.14.0-0.2",
        "0.14.0-2",
        "0.14.0-3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21797",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-21797",
      "provider_updated_at": "2025-10-24T04:53:26Z",
      "applicability_unknown": true
    },
    {
      "name": "joblib",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "0.17.0-4",
        "0.17.0-4ubuntu1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-21797",
      "fixed_version": "",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2022-21797",
      "provider_updated_at": "2025-10-24T04:53:26Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #1020820]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [joblib]

    Details (2)
    • 1.2.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1

      dsa · joblib · debian · bookworm

    • 1.2.0-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1

      dsa · joblib · debian · bookworm

[openSUSE Tumbleweed]

  • Source package: [python-joblib]

    Details (1)
    • 1.5.3-3.1 · noarch · tumbleweed

      Unknown · Fixed: 1.4.2-2.1

      Version impact unknown

      dsa · python-joblib · opensuse · tumbleweed

  • Source package: [python-joblib]

    Details (1)
    • 1.5.3-3.1 · noarch · tumbleweed

      Unknown · Fixed: 1.4.2-2.1

      Version impact unknown

      dsa · python-joblib · opensuse · tumbleweed

Observed:

References