{"id":"GHSA-jxfp-4rvq-9h9m","summary":"scikit-learn Denial of Service","details":"svm_predict_values in svm.cpp in Libsvm v324, as used in scikit-learn 0.23.2 and other products, allows attackers to cause a denial of service (segmentation fault) via a crafted model SVM (introduced via pickle, json, or any other model permanence standard) with a large value in the _n_support array.\nNOTE: the scikit-learn vendor's position is that the behavior can only occur if the library's API is violated by an application that changes a private attribute.","aliases":["CVE-2020-28975","PYSEC-2020-108"],"modified":"2024-12-03T05:52:35.804745Z","published":"2022-05-24T17:34:40Z","database_specific":{"cwe_ids":[],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-02-01T20:59:15Z","nvd_published_at":"2020-11-21T21:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28975"},{"type":"WEB","url":"https://github.com/scikit-learn/scikit-learn/issues/18891"},{"type":"WEB","url":"https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85"},{"type":"WEB","url":"https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-108.yaml"},{"type":"PACKAGE","url":"https://github.com/scikit-learn/scikit-learn"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202301-03"},{"type":"WEB","url":"http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2020/Nov/44"}],"affected":[{"package":{"name":"scikit-learn","ecosystem":"PyPI","purl":"pkg:pypi/scikit-learn"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.23.2"},{"fixed":"1.0.1"}]}],"versions":["0.23.2","0.24.0","0.24.1","0.24.2","1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jxfp-4rvq-9h9m/GHSA-jxfp-4rvq-9h9m.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:N/I:N/A:H"}]}