CVE-2020-28975
scikit-learn Denial of Service
Reported by mitre · Published November 21, 2020
scikit-learn is fixed in 1.0.1 and 0.24.dev0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| scikit-learn | PyPI | 1.0.1, 0.24.dev0 |
| scikit-learn | scikit-learn | 1.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | scikit-learn | 0.23.2 |
Timeline
- Nov 21, 2020 CVE Published
- Dec 1, 2020 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (3 in total, the first dated here)
- Aug 31, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-28975
vulnetix vdb fixes CVE-2020-28975
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-28975/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20201130 scikit-learn 0.23.2 Local Denial of Service mailing-list
- GLSA-202301-03 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-28975 advisory
- https://github.com/advisories/GHSA-jxfp-4rvq-9h9m advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-108.yaml advisory
- https://github.com/scikit-learn/scikit-learn url