CVE-2024-5206 (Medium) detected in scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl #440
Labels
Mend: dependency security vulnerability
Security vulnerability detected by Mend
CVE-2024-5206 - Medium Severity Vulnerability
A set of python modules for machine learning and data mining
Library home page: https://files.pythonhosted.org/packages/3f/48/6fdd99f5717045f9984616b5c2ec683d6286d30c0ac234563062132b83ab/scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Path to dependency file: /requirements.txt
Path to vulnerable library: /requirements.txt
Dependency Hierarchy:
Found in HEAD commit: b26ea1ea360ac0169a0529859b41eee57ac80bf1
Found in base branch: main
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 thestop_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.Publish Date: 2024-06-06
URL: CVE-2024-5206
Base Score Metrics:
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-5206
Release Date: 2024-06-06
Fix Resolution: scikit-learn - 1.5.0
The text was updated successfully, but these errors were encountered: