Skip to main content
Public proof of conceptFix available

CVE-2024-5206

A public proof of concept exists; no exploitation attested.

  • Published2024-06-06
  • Fixed in1.5.0
  • WeaknessCWE-921 · CWE-922

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versions up to and including 1.4.1.post1, which was fixed in version 1.5.0. The vulnerability arises from the unexpected storage of all tokens present in the training data within the `stop_words_` attribute, rather than only storing the subset of tokens required for the TF-IDF technique to function. This behavior leads to the potential leakage of sensitive information, as the `stop_words_` attribute could contain tokens that were meant to be discarded and not stored, such as passwords or keys. The impact of this vulnerability varies based on the nature of the data being processed by the vectorizer.

Timeline

dates in UTC
  1. 2024-06-0619:16CVE publishedNVD

Versions per branch

NVD · CISA-ADP · OSV
Scikit-learn
BranchAffectedFixed in
1.5< 1.5.01.5.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As @huntr_ai, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • scikit-learn/scikit-learn
    Affected
    • < 1.5.0fixed in 1.5.0custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kubeflow-katibWolfiall versions · fixed in 0.16.0-r12
  • kubeflow-katibChainguardall versions · fixed in 0.16.0-r12
  • kubeflow-pipelines-visualization-serverWolfiall versions · fixed in 2.3.0-r1
  • kubeflow-pipelines-visualization-serverChainguardall versions · fixed in 2.3.0-r1
  • oracle-free-21-extrasMinimOSall versions · no fixed version listed
  • py3-scikit-learnWolfiall versions · fixed in 1.5.0-r0
  • py3-scikit-learnChainguardall versions · fixed in 1.5.0-r0
  • python-scikit-learnSUSE:Linux Enterprise Module for Package Hub 15 SP6all versions · fixed in 0.23.2-150300.3.3.1

24 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2026:83548 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage

Full record on NVD

Fix

  1. Update Scikit-learn to 1.5.0
  2. Vendor fix Red Hat Product Security RHSA-2026:83548 · 3 productsThe container images provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io using the "podman pull" command.

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-06-07
  • NVDCVSS 3.14.7read 2026-10-23
  • CNACVSS 3.04.7known since 2026-10-23
  • CNAweakness (CWE)CWE-921known since 2026-10-23
  • NVDweakness (CWE)CWE-922read 2026-10-23
  • FIRST EPSSEPSS score0.2 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2024-06-17

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
2024-06-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-jw8x-6495-233v

Frequently asked questions

What is CVE-2024-5206?

A sensitive data leakage vulnerability was identified in scikit-learn's TfidfVectorizer, specifically in versions up to and including 1.4.1.post1, which was fixed in version 1.5.0. The vulnerability arises from the unexpected storage of all tokens present in the training data within the `stop_words_` attribute, rather than only storing the subset of tokens required for the TF-IDF technique to function. This behavior leads to the potential leakage of sensitive information, as the `stop_words_` attribute could contain tokens that were meant to be discarded and not stored, such as passwords or keys. The impact of this vulnerability varies based on the nature of the data being processed by the vectorizer.

Is CVE-2024-5206 actively exploited?

A proof-of-concept exploit exists for CVE-2024-5206, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-5206?

CVE-2024-5206 has a CVSS v3 base score of 4.7 (MEDIUM severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.

Running scikit-learn? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record