Vulnerability Description
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. NOTE: 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Scikit-Learn | Scikit-Learn | >= 0.23.2, < 1.0.1 |
References
- http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-ServicExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2020/Nov/44Mailing ListThird Party Advisory
- https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/sExploitThird Party Advisory
- https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25PatchThird Party Advisory
- https://github.com/scikit-learn/scikit-learn/issues/18891ExploitIssue TrackingThird Party Advisory
- https://security.gentoo.org/glsa/202301-03Third Party Advisory
- http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-ServicExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2020/Nov/44Mailing ListThird Party Advisory
- https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/sExploitThird Party Advisory
- https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25PatchThird Party Advisory
- https://github.com/scikit-learn/scikit-learn/issues/18891ExploitIssue TrackingThird Party Advisory
- https://security.gentoo.org/glsa/202301-03Third Party Advisory
FAQ
What is CVE-2020-28975?
CVE-2020-28975 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2020-28975?
CVE-2020-28975 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-28975?
Check the references section above for vendor advisories and patch information. Affected products include: Scikit-Learn Scikit-Learn.