ADVISORIES

GitHub Advisory Database

GHSA-jjw5-xxj6-pcv5

scikit-learn Deserialization of Untrusted Data

Critical No fix available CVE-2020-13092PYSEC-2020-107

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.

Affected packages

EcosystemPackageAffected versions
PyPIscikit-learn
All versions up to and including 0.23.0

References