INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2022-21797

joblib vulnerable to arbitrary code execution

CVE-2022-21797 ยท 2022-09-27 critical

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Code and command execution
Affected
joblib (PyPI)
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% chance of exploitation in 30 days

How it works, in short

The pre_dispatch argument is passed to eval, so a crafted value runs arbitrary Python code. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.