CVE-2024-5206
published medium CVSS 3.0 · 4.7Sensitive Data Leakage in sklearn.feature_extraction.text.TfidfVectorizer in scikit-learn/scikit-learn
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scikit-learn | — | scikit-learn/scikit-learnunspecified to < 1.5.0 | Affected | Not stated | @huntr_ai |
| scikit-learn | — | scikit-learn0 to < 1.5.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP5 | python3-scikit-learnaarch64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-scikit-learnppc64le | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-scikit-learns390x | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-scikit-learnx86_64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-scikit-learnaarch64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-scikit-learnppc64le | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | python3-scikit-learns390x | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-scikit-learnx86_64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-scikit-learnaarch64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-scikit-learnppc64le | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-scikit-learns390x | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python3-scikit-learnx86_64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python3-scikit-learnaarch64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python3-scikit-learnppc64le | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python3-scikit-learns390x | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python3-scikit-learnx86_64 | Advisory build | 0.23.2-150300.3.3.1 | SUSE-SU-2024:2029-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-scikit-learnaarch64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-scikit-learnppc64le | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-scikit-learns390x | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-scikit-learnx86_64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-scikit-learnaarch64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-scikit-learnppc64le | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-scikit-learns390x | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-scikit-learnx86_64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-scikit-learnaarch64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-scikit-learnppc64le | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-scikit-learns390x | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-scikit-learnx86_64 | Advisory build | 1.5.0-1.1 | OPENSUSE-SU-2024:14043-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-scikit-learnaarch64 | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-scikit-learnppc64le | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-scikit-learns390x | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-scikit-learnx86_64 | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-scikit-learnaarch64 | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-scikit-learnppc64le | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-scikit-learns390x | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-scikit-learnx86_64 | Advisory build | 1.9.0-1.1 | OPENSUSE-SU-2026:11498-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scikit-learn | scikit-learn/scikit-learn | unspecified to < 1.5.0 (affected · custom) | @huntr_ai · cna |
| scikit-learn | scikit-learn | 0 to < 1.5.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-921 CWE-921 Storage of Sensitive Data in a Mechanism without Access Control
References
2Provider assertions
3@huntr_ai · cna
Sensitive Data Leakage in sklearn.feature_extraction.text.TfidfVectorizer in scikit-learn/scikit-learn
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 67bee40e83ba3624d4a33c18352368e83fd14f77aa0f294fed95c2ab0754f56d
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record