Vulnerability Details : CVE-2020-28975
Potential exploit
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.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2020-28975
- cpe:2.3:a:scikit-learn:scikit-learn:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-28975
0.17%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-28975
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
References for CVE-2020-28975
-
https://github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501
libsvm/svm.cpp at 9a3a9708926dec87d382c43b203f2ca19c2d56a0 · cjlin1/libsvm · GitHubExploit;Third Party Advisory
-
https://github.com/scikit-learn/scikit-learn/issues/18891
Segmentation fault on SVMLIB · Issue #18891 · scikit-learn/scikit-learn · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85
FIX Prevents segfault in SVC when internals are altered (#21336) · scikit-learn/scikit-learn@1bf13d5 · GitHubPatch;Third Party Advisory
-
https://security.gentoo.org/glsa/202301-03
scikit-learn: Denial of Service (GLSA 202301-03) — Gentoo securityThird Party Advisory
-
http://packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html
SciKit-Learn 0.23.2 Denial Of Service ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
http://seclists.org/fulldisclosure/2020/Nov/44
Full Disclosure: scikit-learn 0.23.2 Local Denial of ServiceMailing List;Third Party Advisory
Jump to