cve.bz

CVE-2024-5206 scikit-learn scikit-learn

4.7 mediumEPSS 0.2%Fix available

Medium (4.7) in scikit-learn scikit-learn. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in scikit-learn 1.5.0.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-06-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-922 Insecure Storage of Sensitive Information
CWE-921 Storage of Sensitive Data in a Mechanism without Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-5206 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-5206?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-5206?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-5206 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
scikit-learn/scikit-learnbefore 1.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jw8x-6495-233vPyPIscikit-learn<1.5.01.5.0
PYSEC-2024-110PyPIscikit-learn<1.5.01.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14scikit-learnno fix listedDEBIAN-CVE-2024-5206
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 5 morescikit-learnno fix listedUBUNTU-CVE-2024-5206
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6python-scikit-learn0.23.2-150300.3.3.1SUSE-SU-2024:2029-1
openSUSELeap 15.5, Leap 15.6python-scikit-learn0.23.2-150300.3.3.1SUSE-SU-2024:2029-1
openSUSETumbleweedpython-scikit-learn1.5.0-1.1openSUSE-SU-2024:14043-1
openSUSETumbleweedpython-scikit-learn1.9.0-1.1openSUSE-SU-2026:11498-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1rhceph/rhceph-7-rhel9:1791452477Fixed 2026-10-15RHSA-2026:83548
Red Hat Ansible Automation Platform 2aap-cloud-metrics-collector-containerNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-dellemc-openmanage-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ansible-builder-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ansible-dev-tools-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/de-supported-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-cloud-services-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-supported-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/platform-resource-runner-rhel8Not affected
Red Hat Ceph Storage 7arrowAffected
Red Hat Ceph Storage 7pybindAffected
Red Hat Ceph Storage 8arrowNot affected
Red Hat Ceph Storage 8pybindAffected
Red Hat Ceph Storage 9arrowAffected
Red Hat Ceph Storage 9pybindAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-5206.

References

Check your stackJSON