CVE-2020-13092
scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | scikit-learn | no fix listed |
| debian 11 | scikit-learn | no fix listed |
| debian 12 | scikit-learn | no fix listed |
| debian 13 | scikit-learn | no fix listed |
| debian 14 | scikit-learn | no fix listed |
| echo | scikit-learn | 1.4.2+dfsg-8+e1 |
| rapidfort debian 12 | scikit-learn | no fix listed |
| rapidfort debian 13 | scikit-learn | no fix listed |
References
- https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md
- https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml
- https://github.com/scikit-learn/scikit-learn
- https://nvd.nist.gov/vuln/detail/CVE-2020-13092
- https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations