Is scikit-learn 0.23 vulnerable?

PyPI · 3 releases from 0.23.0 to 0.23.2 · latest scikit-learn is 1.9.1 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. scikit-learn 0.23.2, the last 0.23 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2020-28975, CVE-2024-5206. 1 more affects earlier 0.23.x releases. Upgrade to 1.5.0 or later to fix all of them.

Upgrade with:pip install 'scikit-learn>=1.5.0'

Is your project on an affected scikit-learn?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting scikit-learn 0.23.2

  • MediumCVE-2024-5206GHSA-jw8x-6495-233v6 Jun 2024

    scikit-learn sensitive data leakage vulnerability

    Affected
    <1.5.0
    Fixed in
    1.5.0
  • HighCVE-2020-28975GHSA-jxfp-4rvq-9h9m24 May 2022

    scikit-learn Denial of Service

    Affected
    >=0.23.2 <1.0.1
    Fixed in
    1.0.1

Fixed within 0.23.x, affecting earlier releases

  • CriticalCVE-2020-13092GHSA-jjw5-xxj6-pcv524 May 2022

    scikit-learn Deserialization of Untrusted Data

    Affected
    <=0.23.0
    Fixed in
    No fix released

Every scikit-learn 0.23.x release

Affected: 0.23.0 to 0.23.2. Latest scikit-learn: 1.9.1.

VersionKnown advisories
scikit-learn 0.23.2CVE-2024-5206, CVE-2020-28975
scikit-learn 0.23.1CVE-2024-5206
scikit-learn 0.23.0CVE-2024-5206, CVE-2020-13092

Which of your client projects are still on scikit-learn 0.23?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact scikit-learn version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other scikit-learn versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.