Python/scikit-learn/0.18rc2


A set of python modules for machine learning and data mining

https://pypi.org/project/scikit-learn
BSD-3-Clause

2 Security Vulnerabilities

scikit-learn Deserialization of Untrusted Data

Published date: 2022-05-24T17:17:59Z
CVE: CVE-2020-13092
Links:

scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file that is passed to the joblib.load() function, if __reduce__ makes an os.system call. NOTE: third parties dispute this issue because the joblib.load() function is documented as unsafe and it is the user's responsibility to use the function in a secure manner.

Affected versions: ["0.17b1", "0.20.1", "0.21.2", "0.21.3", "0.11", "0.13", "0.15.2", "0.17", "0.19.0", "0.12", "0.14.1", "0.14a1", "0.15.0", "0.15.1", "0.20.4", "0.12.1", "0.16.0", "0.18.1", "0.18.2", "0.21.0", "0.22.1", "0.16.1", "0.16b1", "0.18", "0.19.2", "0.21rc2", "0.22", "0.9", "0.10", "0.14", "0.15.0b2", "0.20.0", "0.23.0rc1", "0.20rc1", "0.21.1", "0.22.2", "0.22.2.post1", "0.22rc2.post1", "0.13.1", "0.15.0b1", "0.17.1", "0.18rc2", "0.19.1", "0.19b2", "0.20.2", "0.20.3", "0.22rc3", "0.23.0"]
Secure versions: [1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.0rc1, 1.6.1, 1.7.0, 1.7.0rc1, 1.7.1, 1.7.2, 1.8.0, 1.8.0rc1]
Recommendation: Update to version 1.8.0.

scikit-learn sensitive data leakage vulnerability

Published date: 2024-06-06T21:30:37Z
CVE: CVE-2024-5206
Links:

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.

Affected versions: ["0.17b1", "0.20.1", "0.21.2", "0.21.3", "0.24.0", "0.11", "0.13", "0.15.2", "0.17", "0.19.0", "0.12", "0.14.1", "0.14a1", "0.15.0", "0.15.1", "0.20.4", "0.23.2", "0.12.1", "0.16.0", "0.18.1", "0.18.2", "0.21.0", "0.22.1", "0.24.dev0", "0.16.1", "0.16b1", "0.18", "0.19.2", "0.21rc2", "0.22", "0.24.1", "0.9", "0.10", "0.14", "0.15.0b2", "0.20.0", "0.23.0rc1", "0.23.1", "0.24.0rc1", "0.20rc1", "0.21.1", "0.22.2", "0.22.2.post1", "0.22rc2.post1", "0.13.1", "0.15.0b1", "0.17.1", "0.18rc2", "0.19.1", "0.19b2", "0.20.2", "0.20.3", "0.22rc3", "0.23.0", "0.24.2", "1.0rc1", "1.0rc2", "1.0", "1.0.1", "1.0.2", "1.1.0rc1", "1.1.0", "1.1.1", "1.1.2", "1.1.3", "1.2.0rc1", "1.2.0", "1.2.1", "1.2.2", "1.3.0rc1", "1.3.0", "1.3.1", "1.3.2", "1.4.0rc1", "1.4.0", "1.4.1.post1", "1.4.2", "1.5.0rc1"]
Secure versions: [1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.0rc1, 1.6.1, 1.7.0, 1.7.0rc1, 1.7.1, 1.7.2, 1.8.0, 1.8.0rc1]
Recommendation: Update to version 1.8.0.

90 Other Versions

Version License Security Released
1.8.0 UNKNOWN
1.8.0rc1 UNKNOWN
1.7.2 UNKNOWN
1.7.1 UNKNOWN
1.7.0 BSD
1.7.0rc1 BSD 1970-01-01 - 00:00 over 56 years
1.6.1 BSD 1970-01-01 - 00:00 over 56 years
1.6.0 BSD 1970-01-01 - 00:00 over 56 years
1.6.0rc1 BSD 1970-01-01 - 00:00 over 56 years
1.5.2 BSD 1970-01-01 - 00:00 over 56 years
1.5.1 BSD-3-Clause AND BSD 1970-01-01 - 00:00 over 56 years
1.5.0 BSD-3-Clause AND BSD 1970-01-01 - 00:00 over 56 years
1.5.0rc1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.4.2 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.4.1.post1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.4.0 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.4.0rc1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.3.2 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.3.1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.3.0 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.3.0rc1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.2.2 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.2.1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.2.0 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.2.0rc1 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.1.3 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.1.2 BSD-3-Clause AND BSD 1 1970-01-01 - 00:00 over 56 years
1.1.1 BSD-3-Clause 1 2022-05-19 - 13:35 almost 4 years
1.1.0 BSD-3-Clause 1 2022-05-12 - 14:36 almost 4 years
1.1.0rc1 BSD-3-Clause 1 2022-04-28 - 12:19 about 4 years
1.0.2 BSD-3-Clause 1 2021-12-25 - 20:30 over 4 years
1.0.1 BSD-3-Clause 1 2021-10-25 - 11:00 over 4 years
1.0 BSD-3-Clause 2 2021-09-24 - 13:20 over 4 years
0.24.2 BSD-3-Clause 2 2021-04-28 - 11:18 about 5 years
0.24.1 BSD-3-Clause 2 2021-01-19 - 18:06 over 5 years
0.24.0 BSD-3-Clause 2 2020-12-22 - 15:06 over 5 years
0.24.0rc1 BSD-3-Clause 2 2020-12-02 - 17:56 over 5 years
0.24.dev0 BSD-3-Clause 2 2020-12-02 - 10:28 over 5 years
0.23.2 BSD-3-Clause 2 2020-08-04 - 12:59 over 5 years
0.23.1 BSD-3-Clause 1 2020-05-19 - 19:24 almost 6 years
0.23.0 BSD-3-Clause 2 2020-05-12 - 17:09 almost 6 years
0.23.0rc1 BSD-3-Clause 2 2020-05-05 - 21:24 almost 6 years
0.22.2 BSD-3-Clause 2 2020-02-28 - 18:40 about 6 years
0.22.2.post1 BSD-3-Clause 2 2020-03-04 - 16:31 about 6 years
0.22.1 BSD-3-Clause 2 2020-01-02 - 17:23 over 6 years
0.22 BSD-3-Clause 2 2019-12-03 - 10:12 over 6 years
0.21.3 BSD-3-Clause 2 2019-07-30 - 02:07 almost 7 years
0.21.2 BSD-3-Clause 2 2019-05-24 - 03:50 almost 7 years
0.21.1 BSD-3-Clause 2 2019-05-15 - 09:33 almost 7 years
0.21.0 BSD-3-Clause 2 2019-05-10 - 02:21 almost 7 years