VDB
Sign up
—

PYSEC-2020-107

Quick fix

PYSEC-2020-107 — scikit-learn: upgrade to the fixed version with the command below.

pip install --upgrade 'scikit-learn>=0.23.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/scikit-learn
Introduced in: 0Fixed in: 0.23.1
Fixpip install --upgrade 'scikit-learn>=0.23.1'

References