Python/scikit-learn/0.17b1


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
0.20.4 BSD-3-Clause 2 2019-07-30 - 02:00 almost 7 years
0.20.3 BSD-3-Clause 2 2019-03-01 - 20:11 about 7 years
0.20.2 BSD-3-Clause 2 2018-12-19 - 12:33 over 7 years
0.20.1 BSD-3-Clause 2 2018-11-23 - 07:36 over 7 years
0.20.0 BSD-3-Clause 2 2018-09-26 - 13:12 over 7 years
0.19.2 BSD-3-Clause 2 2018-07-15 - 15:33 almost 8 years
0.19.1 BSD-3-Clause 2 2017-10-23 - 15:28 over 8 years
0.19.0 BSD-3-Clause 2 2017-08-11 - 18:38 over 8 years
0.18.2 BSD-3-Clause 2 2017-06-21 - 04:02 almost 9 years
0.18.1 BSD-3-Clause 2 2016-11-13 - 23:13 over 9 years
0.18 BSD-3-Clause 2 2016-09-28 - 20:47 over 9 years
0.17.1 BSD-3-Clause 2 2016-02-18 - 18:05 about 10 years
0.17 BSD-3-Clause 2 2015-11-05 - 22:00 over 10 years
0.16.1 BSD-3-Clause 2 2015-04-14 - 20:01 about 11 years
0.16.0 BSD-3-Clause 2 2015-03-27 - 16:20 about 11 years
0.15.2 BSD-3-Clause 2 2014-11-06 - 12:51 over 11 years
0.15.1 BSD-3-Clause 2 2014-08-28 - 13:54 over 11 years
0.15.0 BSD-3-Clause 2 2014-07-15 - 11:02 almost 12 years
0.15.0b2 BSD-3-Clause 2 2014-07-01 - 20:19 almost 12 years
0.15.0b1 BSD-3-Clause 2 2014-06-06 - 12:47 almost 12 years
0.14.1 BSD-3-Clause 2 2013-08-09 - 10:25 over 12 years
0.14 BSD-3-Clause 2 2013-08-09 - 17:52 over 12 years
0.13.1 BSD-3-Clause 2 2013-02-23 - 16:50 about 13 years
0.13 BSD-3-Clause 2 2013-01-21 - 22:59 over 13 years
0.12.1 BSD-3-Clause 2 2012-10-08 - 22:55 over 13 years
0.12 BSD-3-Clause 2 2012-09-04 - 20:07 over 13 years
0.11 BSD-3-Clause 2 2012-05-08 - 00:40 almost 14 years
0.10 BSD-3-Clause 2 2012-01-11 - 14:42 over 14 years
0.9 BSD-3-Clause 2 2011-09-22 - 00:03 over 14 years
0.17b1 BSD-3-Clause 2 2015-10-16 - 18:09 over 10 years
0.14a1 BSD-3-Clause 2 1970-01-01 - 00:00 over 56 years
0.16b1 BSD-3-Clause 2 2015-03-09 - 15:31 about 11 years
0.21rc2 BSD-3-Clause 2 2019-05-01 - 00:58 almost 7 years
0.20rc1 BSD-3-Clause 2 2018-08-31 - 22:23 over 7 years
0.22rc2.post1 BSD-3-Clause 2 2019-11-21 - 11:29 over 6 years
0.18rc2 BSD-3-Clause 2 2016-09-16 - 13:35 over 9 years
0.19b2 BSD-3-Clause 2 2017-07-17 - 12:30 almost 9 years
0.22rc3 BSD-3-Clause 2 2019-11-28 - 15:35 over 6 years
1.0rc1 BSD-3-Clause 2 2021-09-07 - 14:48 over 4 years
1.0rc2 BSD-3-Clause 2 2021-09-14 - 22:30 over 4 years