Advisory

PYSEC-2020-108

Also known as: CVE-2020-28975, GHSA-jxfp-4rvq-9h9m

Summary

The record has no summary.

Details

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

Severity

Not rated by the source.

Dates

Published
2020-11-21 21:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

scikit-learn

PyPI · All systems

Affected

  • introduced 0, fixed 0.24.dev0 (ecosystem)

Fixed versions

0.24.dev0

Fix

  • Fixed version 0.24.dev0
    pip install --upgrade scikit-learn==0.24.dev0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences