Skip to content
OpenAdvisories
High · 7.5 CVE-2020-28975 EUVD-2020-0180GHSA-jxfp-4rvq-9h9mPYSEC-2020-108

scikit-learn Denial of Service

Published Nov 21, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

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 in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-scikit-learn 1.6.1-1.1 openSUSE-SU-2025:14729-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI scikit-learn >= 0.23.2, < 1.0.1 1.0.1 GHSA-jxfp-4rvq-9h9m
PyPI scikit-learn < 0.24.dev0 0.24.dev0 PYSEC-2020-108

Advisories 2

References