CVE-2024-5206

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-5206
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5206.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-5206
Aliases
Related
Published
2024-06-06T19:16:06Z
Modified
2024-10-24T22:29:07.277547Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / scikit-learn

Package

Name
scikit-learn
Purl
pkg:deb/debian/scikit-learn?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.23.2-5

1.*

1.0.1-1
1.0.1-1.1
1.0.2-1
1.1.1-1
1.1.1-2
1.1.2+dfsg-1
1.1.2+dfsg-2
1.1.2+dfsg-3
1.1.2+dfsg-4
1.1.2+dfsg-5~exp1
1.1.2+dfsg-5
1.1.2+dfsg-6
1.1.2+dfsg-7
1.1.2+dfsg-8
1.1.2+dfsg-91
1.1.2+dfsg-92
1.2.1+dfsg-0exp1
1.2.1+dfsg-1
1.4.1.post1+dfsg-1
1.4.2+dfsg-1
1.4.2+dfsg-2
1.4.2+dfsg-3
1.4.2+dfsg-4
1.4.2+dfsg-5
1.4.2+dfsg-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / scikit-learn

Package

Name
scikit-learn
Purl
pkg:deb/debian/scikit-learn?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.1+dfsg-1
1.4.1.post1+dfsg-1
1.4.2+dfsg-1
1.4.2+dfsg-2
1.4.2+dfsg-3
1.4.2+dfsg-4
1.4.2+dfsg-5
1.4.2+dfsg-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / scikit-learn

Package

Name
scikit-learn
Purl
pkg:deb/debian/scikit-learn?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.1+dfsg-1
1.4.1.post1+dfsg-1
1.4.2+dfsg-1
1.4.2+dfsg-2
1.4.2+dfsg-3
1.4.2+dfsg-4
1.4.2+dfsg-5
1.4.2+dfsg-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/scikit-learn/scikit-learn

Affected ranges

Type
GIT
Repo
https://github.com/scikit-learn/scikit-learn
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1
0.1-beta
0.10-branching
0.11-beta
0.11-branching
0.12-branching
0.13-branching
0.15-branching
0.15.0b1
0.16-branching
0.17-branching
0.19-branching
0.2
0.2-beta
0.3
0.4
0.5
0.5.rc
0.5.rc2
0.5.rc3
0.7-branching
0.8-branching
0.9-branching

Other

sprint01