CVE-2020-28975: scikit-learn Denial of Service

CVE-2020-28975 · Severity: low · CVSS 3.1 · Published 2020-11-21

** DISPUTED ** 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.

Technologies: scikit-learn (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2020-28975 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-28975 being exploited in the wild.
How severe is CVE-2020-28975?
Low severity, with a CVSS score of 3.1, published 21 November 2020.
Which products and versions are affected?
scikit-learn (PyPI) ECOSYSTEM:introduced=0,fixed=0.24.dev0, ECOSYSTEM:introduced=0.23.2,fixed=1.0.1.
Is there a fix for CVE-2020-28975?
Yes. scikit-learn (PyPI): upgrade to 0.24.dev0, 1.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-28975?
Check whether you run scikit-learn (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • scikit-learn (PyPI): upgrade to 0.24.dev0, 1.0.1 or later
    pip install "scikit-learn>=1.0.1"

Affected products

  • scikit-learn (PyPI) ECOSYSTEM:introduced=0,fixed=0.24.dev0, ECOSYSTEM:introduced=0.23.2,fixed=1.0.1

Identifiers

  • CVE-2020-28975
  • GHSA-jxfp-4rvq-9h9m
  • PYSEC-2020-108

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.