Skip to content
HighVulnerability

CVE-2020-28975: Libsvm svm_predict_values denial of service via crafted SVM model

Identifier
CVE-2020-28975
Published
Record updated
View JSON
Affected
  • scikit-learn >= 0.23.2, < 1.0.1
Fixed in
1.0.1
  • released October 25, 2021, 337 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
3.5%

Summary

CVE-2020-28975 affects svm_predict_values in svm.cpp in Libsvm v324, as used in scikit-learn 0.23.2 and other products. An attacker who supplies a crafted SVM model, introduced via pickle, json, or another model persistence standard, with a large value in the _n_support array can cause a denial of service through a segmentation fault. The scikit-learn vendor states the behavior can only occur if an application violates the library's API by changing a private attribute, and the record is marked Disputed.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.