GHSA-jxfp-4rvq-9h9m

scikit-learn Denial of Service

At a glance

Published
Updated
CVE
CVE-2020-28975
Aliases
PYSEC-2020-108
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Affected packages

PackageVersions
PyPI · scikit-learnintroduced 0.23.2, fixed 1.0.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database