CVE-2024-5206
Scikit-Learn ≤ 1.5.0
Raw vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-5206 is a medium-severity Storage of Sensitive Data in a Mechanism without Access Control (CWE-921) vulnerability in Scikit-Learn. Its CVSS base score is 4.7 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Removable Media (T1025); ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
This vulnerability is AI-related — categorised as Machine Learning Libraries; in the Privacy and Disclosure risk domain.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0161
Vulnerability Data
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…
more
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Machine Learning Libraries
- Risk Domain
- Privacy and Disclosure
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- scikit-learn is a core machine learning library, and TfidfVectorizer is a component for text vectorization in ML/NLP pipelines, directly fitting the Machine Learning Libraries category.
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 1 hardening rule · 1 OS baseline
—
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
AC-3 directly requires enforcement of access authorizations on system resources including stored data, structurally eliminating storage without access control.
Requires protection of confidentiality/integrity for information at rest, directly addressing insecure storage.
Limits privileges so only authorized accesses to sensitive stored data are permitted.
Associates security attributes with information to support proper access decisions on storage.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Defining and enforcing access permissions on storage directly prevents the weakness.
Protecting data-at-rest typically requires access controls or encryption on storage mechanisms.
Logical access protections on environments can reduce exposure of uncontrolled storage.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Access control policy directly requires protection of sensitive data wherever it is stored.
Granting and reviewing access rights prevents unauthorized access to sensitive data on storage media.
A.8.24 well implemented mandates encryption (and with it authenticity/integrity protection via authenticated encryption) for sensitive data held on storage media, which blocks the read and modify exploitation of CWE-921 even though the underlying storage mechanism still lacks access control; the remainder is bounded by key compromise, implementation flaws, and cases where cryptography is not applied to the specific data store.
A.8.29's combined programme (code review, static analysis, penetration testing) reaches CWE-921 through both source and runtime routes — a reviewer can see sensitive data being written to external/public storage, SAST can flag storage-API use with sensitive payloads, and a pentester can find the data sitting in an accessible location. The remainder is bounded and nameable: cases where the data's sensitivity is not apparent from code or storage context alone, so the storage-mechanism choice is not flagged.
A.8.3, when applied to a system with existing CWE-921 instances, configures access controls on the storage mechanism (per-user/identity permissions, isolation, authentication, and encryption under dynamic access management), removing the weakness in most cases; the bounded remainder is storage media that are physically portable and accessed outside the system's access-control plane, though A.8.3's encryption guidance partially addresses this.
A.5.26 is an incident response control with no systematic finding mechanism for CWE-921; it only identifies weaknesses as a byproduct of post-incident root-cause analysis (items i and j), which reaches only instances that have caused detectable incidents — a small minority of latent CWE-921 instances, parallel to the A.8.16 monitoring anchors graded `none` for finding weaknesses.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-922, a class-level weakness. Rules are authored against its narrower children: CWE-312.