{"id":"GHSA-jjw5-xxj6-pcv5","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`.\nNOTE: 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.","aliases":["CVE-2020-13092","PYSEC-2020-107"],"modified":"2024-10-22T18:05:32.284452Z","published":"2022-05-24T17:17:59Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-22T22:55:41Z","nvd_published_at":"2020-05-15T19:15:00Z","cwe_ids":["CWE-502"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13092"},{"type":"WEB","url":"https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml"},{"type":"PACKAGE","url":"https://github.com/scikit-learn/scikit-learn"},{"type":"WEB","url":"https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations"}],"affected":[{"package":{"name":"scikit-learn","ecosystem":"PyPI","purl":"pkg:pypi/scikit-learn"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.23.0"}]}],"versions":["0.10","0.11","0.12","0.12.1","0.13","0.13.1","0.14","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.17","0.17.1","0.18","0.18.1","0.18.2","0.19.0","0.19.1","0.19.2","0.20.0","0.20.1","0.20.2","0.20.3","0.20.4","0.21.0","0.21.1","0.21.2","0.21.3","0.22","0.22.1","0.22.2","0.22.2.post1","0.23.0","0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jjw5-xxj6-pcv5/GHSA-jjw5-xxj6-pcv5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}