Advisory

GHSA-6hrg-qmvc-2xh8

Also known as: CVE-2022-21797, PYSEC-2022-288

Summary

joblib vulnerable to arbitrary code execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-09-27 00:00 UTC
Modified
2025-02-14 05:27 UTC

Affected packages and fixes

joblib

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.0 (ecosystem)

Fixed versions

1.2.0

Fix

  • Fixed version 1.2.0
    pip install --upgrade joblib==1.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences