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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2024-06-0619:16CVE publishedNVD
Versions per branch
NVD · CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.5 | < 1.5.0 | 1.5.0 | NVD · CISA-ADP · OSV |
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-learnAffected
- < 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
Red Hat Security Advisory: Red Hat Ceph Storage
Fix
- Update Scikit-learn to 1.5.0
- 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
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-06-07
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- 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
- CGA-98hm-5hxx-mmh9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cfmc-qf73-rc3msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hcmx-xjrm-p9r6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vxph-vx97-5j7qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xf8m-5m7r-6v47same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-0161same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-jw8x-6495-233vsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-g5g6-3h3f-vw35same flawMinimOS · LicenseRef-unstated
- PYSEC-2024-110same flawPyPA Advisory Database · CC-BY-4.0
- MGASA-2024-0228advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2024-1745advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:14043-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11498-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2024:2029-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2024-5206 actively exploited?
What is the CVSS score for CVE-2024-5206?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-jw8x-6495-233v
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0