Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-5206

4.7 · MEDIUM
Published Jun 6, 2024 scikit-learn CWE-921 EPSS 0.19% (9th pctl)

Overview

CVE-2024-5206 is a medium-severity vulnerability affecting scikit-learn scikit-learn. It was published on June 6, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from scikit-learn. Update scikit-learn to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
scikit-learn scikit-learn >= 0, < 1.5.0 Affected

Frequently Asked Questions

What is CVE-2024-5206?

CVE-2024-5206 is a medium-severity vulnerability affecting scikit-learn scikit-learn. It was published on June 6, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-5206?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-5206?

Check the references section for vendor advisories and patches from scikit-learn. Update scikit-learn to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-5206?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-5206 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.