OESA-2024-1745

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1745
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1745.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-1745
Upstream
Published
2024-06-21T11:08:19Z
Modified
2025-08-12T05:46:39.633027Z
Summary
python-scikit-learn security update
Details

A Python module for machine learning built on top of SciPy

Security Fix(es):

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.(CVE-2024-5206)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / python-scikit-learn

Package

Name
python-scikit-learn
Purl
pkg:rpm/openEuler/python-scikit-learn&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.20.4-5.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "python3-scikit-learn-0.20.4-5.oe2003sp4.aarch64.rpm"
    ],
    "src": [
        "python-scikit-learn-0.20.4-5.oe2003sp4.src.rpm"
    ],
    "x86_64": [
        "python3-scikit-learn-0.20.4-5.oe2003sp4.x86_64.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / python-scikit-learn

Package

Name
python-scikit-learn
Purl
pkg:rpm/openEuler/python-scikit-learn&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1-2.oe2203sp1

Ecosystem specific

{
    "aarch64": [
        "python3-scikit-learn-1.1.1-2.oe2203sp1.aarch64.rpm"
    ],
    "src": [
        "python-scikit-learn-1.1.1-2.oe2203sp1.src.rpm"
    ],
    "x86_64": [
        "python3-scikit-learn-1.1.1-2.oe2203sp1.x86_64.rpm"
    ]
}

openEuler:22.03-LTS-SP3 / python-scikit-learn

Package

Name
python-scikit-learn
Purl
pkg:rpm/openEuler/python-scikit-learn&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1-2.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "python3-scikit-learn-1.1.1-2.oe2203sp3.aarch64.rpm"
    ],
    "src": [
        "python-scikit-learn-1.1.1-2.oe2203sp3.src.rpm"
    ],
    "x86_64": [
        "python3-scikit-learn-1.1.1-2.oe2203sp3.x86_64.rpm"
    ]
}

openEuler:24.03-LTS / python-scikit-learn

Package

Name
python-scikit-learn
Purl
pkg:rpm/openEuler/python-scikit-learn&distro=openEuler-24.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.0-2.oe2403

Ecosystem specific

{
    "aarch64": [
        "python3-scikit-learn-1.4.0-2.oe2403.aarch64.rpm"
    ],
    "src": [
        "python-scikit-learn-1.4.0-2.oe2403.src.rpm"
    ],
    "x86_64": [
        "python3-scikit-learn-1.4.0-2.oe2403.x86_64.rpm"
    ]
}