Vulnerability · Published Nov 21, 2020 · Assigned by mitre

CVE-2020-28975

High 7.5

In plain English

A high-severity security flaw in the scikit-learn package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.5% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)3.5%top 10.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
PyPIscikit-learn1.0.1GHSA-jxfp-4rvq-9h9m
PyPIscikit-learn0.24.dev0PYSEC-2020-108

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References