AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

scikit-learnGHSA-jxfp-4rvq-9h9m

scikit-learn Denial of Service

scikit-learn

CVE-2020-28975 · Published May 24, 2022 · updated Dec 3, 2024

High7.5
Fix: upgrade to 1.0.1 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
scikit-learn
PyPI
>= 0.23.2, < 1.0.11.0.1
Details and references

More scikit-learn advisories

All scikit-learn