Advisory

PYSEC-2020-107

Also known as: CVE-2020-13092, GHSA-jjw5-xxj6-pcv5

Summary

The record has no summary.

Details

** DISPUTED ** scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file that is passed to the joblib.load() function, if __reduce__ makes an os.system call. NOTE: third parties dispute this issue because the joblib.load() function is documented as unsafe and it is the user's responsibility to use the function in a secure manner.

Severity

Not rated by the source.

Dates

Published
2020-05-15 19:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

scikit-learn

PyPI · All systems

Affected

  • introduced 0, fixed 0.23.1 (ecosystem)

Fixed versions

0.23.1

Fix

  • Fixed version 0.23.1
    pip install --upgrade scikit-learn==0.23.1

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: PyPA Advisory Database · CC BY 4.0

Sources & licences