Advisory

GHSA-jjw5-xxj6-pcv5

Also known as: CVE-2020-13092, PYSEC-2020-107

Summary

scikit-learn Deserialization of Untrusted Data

Details

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 17:17 UTC
Modified
2024-10-22 18:05 UTC

Affected packages and fixes

scikit-learn

PyPI · All systems

Affected

  • introduced 0, last affected 0.23.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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