CVE-2020-13092
Scikit-learn vulnerability
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
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Scikit-learn. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Scikit-learn runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md · Exploit
- scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitation · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-13092
- github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml
- github.com/advisories/GHSA-jjw5-xxj6-pcv5
- nvd.nist.gov/vuln/detail/CVE-2020-13092
- cve.org/CVERecord?id=CVE-2020-13092
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.