scikit-learnGHSA-jxfp-4rvq-9h9m
scikit-learn Denial of Service
High7.5CVE-2020-28975 · Published May 24, 2022 · updated Dec 3, 2024
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| scikit-learn PyPI | >= 0.23.2, < 1.0.1 | 1.0.1 |
Details and references
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 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- GitHub (reviewed advisory)
- Also known as
- CVE-2020-28975, PYSEC-2020-108
- nvd.nist.gov/vuln/detail/CVE-2020-28975
- github.com/scikit-learn/scikit-learn/issues/18891
- github.com/scikit-learn/scikit-learn/commit/1bf13d567d3cd74854aa8343fd25b61dd768bb85
- github.com/cjlin1/libsvm/blob/9a3a9708926dec87d382c43b203f2ca19c2d56a0/svm.cpp#L2501
- github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-108.yaml
- github.com/scikit-learn/scikit-learn
- security.gentoo.org/glsa/202301-03
- packetstormsecurity.com/files/160281/SciKit-Learn-0.23.2-Denial-Of-Service.html
- seclists.org/fulldisclosure/2020/Nov/44
More scikit-learn advisories
All scikit-learn| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 242022 | scikit-learn Deserialization of Untrusted Data CVE-2020-13092Critical9.8no fix yet | Critical9.8 | No fix yet |
| Jun 62024 | scikit-learn sensitive data leakage vulnerability CVE-2024-5206Medium5.3fixed in 1.5.0 | Medium5.3 | 1.5.0 |