Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-5206 (Medium) detected in scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl #132

Open
mend-bolt-for-github bot opened this issue Jun 19, 2024 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jun 19, 2024

CVE-2024-5206 - Medium Severity Vulnerability

Vulnerable Library - scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

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: /SuperCluster/ArchLinux/Python/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20241216135314_KYIGZM/python_EOITUO/202412161416071/env/lib/python3.8/site-packages/scikit_learn-1.3.2.dist-info,/tmp/ws-ua_20241216135314_KYIGZM/python_EOITUO/202412161359421/env/lib/python3.8/site-packages/scikit_learn-1.3.2.dist-info,/tmp/ws-ua_20241216135314_KYIGZM/python_EOITUO/202412161353151/env/lib/python3.8/site-packages/scikit_learn-1.3.2.dist-info,/tmp/ws-ua_20241216135314_KYIGZM/python_EOITUO/202412161404361/env/lib/python3.8/site-packages/scikit_learn-1.3.2.dist-info,/tmp/ws-ua_20241216135314_KYIGZM/python_EOITUO/202412161410261/env/lib/python3.8/site-packages/scikit_learn-1.3.2.dist-info

Dependency Hierarchy:

  • scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (Vulnerable Library)

Found in HEAD commit: 282db09a8dda8b4c4d0ff56875195546b18b0ec5

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2024-06-06

URL: CVE-2024-5206

CVSS 3 Score Details (4.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-5206

Release Date: 2024-06-06

Fix Resolution: 1.5.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jun 19, 2024

Micro-Learning Topic: Vulnerable library (Detected by phrase)

Matched on "Vulnerable Library"

What is this? (2min video)

Use of vulnerable components will introduce weaknesses into the application. Components with published vulnerabilities will allow easy exploitation as resources will often be available to automate the process.

Try a challenge in Secure Code Warrior

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2024-5206 (Medium) detected in scikit_learn-1.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CVE-2024-5206 (Medium) detected in scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants