scikit-learn: known vulnerabilities and the safe version

PyPI3 records

The version to be on

Version 1.5.0 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade scikit-learn with pip

pip install --upgrade "scikit-learn>=1.5.0"
pip show scikit-learn | grep Version

Pin it in requirements.txt

scikit-learn>=1.5.0

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch scikit-learn

Get an email only when scikit-learn has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in scikit-learn and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for scikit-learn

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/scikit-learn/badge/)](https://securityelites.com/ai-vulnerabilities/package/scikit-learn/)

All records

  • scikit-learn sensitive data leakage vulnerabilityUnknown · CVE-2024-5206 · fixed in 1.5.0 · 7 Jun 2024
  • scikit-learn Denial of ServiceUnknown · CVE-2020-28975 · fixed in 0.24.dev0 · 24 May 2022
  • scikit-learn Deserialization of Untrusted DataUnknown · CVE-2020-13092 · fixed in 0.23.1 · 24 May 2022