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

scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl: 1 vulnerabilities (highest severity is: 5.5) #1179

Open
mend-for-github-com bot opened this issue Sep 21, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Sep 21, 2024

Vulnerable Library - scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl

A set of python modules for machine learning and data mining

Library home page: https://files.pythonhosted.org/packages/b8/7e/74e707b66490d4eb05f702966ad0990881127acecf9d5cdcef3c95ec6c16/scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl

Path to dependency file: /python/spec/fixtures/projects/unresolvable/requirements.txt

Path to vulnerable library: /python/spec/fixtures/projects/unresolvable/requirements.txt

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (scikit_learn version) Remediation Possible** Reachability
CVE-2024-5206 Medium 5.5 scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl Direct 1.5.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-5206

Vulnerable Library - scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl

A set of python modules for machine learning and data mining

Library home page: https://files.pythonhosted.org/packages/b8/7e/74e707b66490d4eb05f702966ad0990881127acecf9d5cdcef3c95ec6c16/scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl

Path to dependency file: /python/spec/fixtures/projects/unresolvable/requirements.txt

Path to vulnerable library: /python/spec/fixtures/projects/unresolvable/requirements.txt

Dependency Hierarchy:

  • scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl (Vulnerable Library)

Found in base branch: main

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 (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • 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

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Sep 21, 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