Lucene search

K
ibmIBM7CFCD56CD9F3812DF1B7D2D3AF0D3725A6C2B36611338736A5558A4B10CF6841
HistoryJul 20, 2020 - 8:01 p.m.

Security Bulletin: WML CE Scikit-learn vulnerable to irresponsible usage

2020-07-2020:01:11
www.ibm.com
9

0.01 Low

EPSS

Percentile

83.7%

Summary

WML containers include scikit-learn. Scikit-learn includes joblib and pickle to cache and load models. Pickle (and joblib by extension), has some issues regarding maintainability and security. Because of this, usage of the joblib.load() function in scikit-learn must be done in a responsible manner.

Vulnerability Details

Refer to the security bulletin(s) listed in the Remediation/Fixes section

Affected Products and Versions

Affected Product(s) Version(s)
IBM Watson Machine Learning Community Edition 1.6.2
IBM Watson Machine Learning Community Edition 1.7.0

Remediation/Fixes

CVE-2020-13092

<https://nvd.nist.gov/vuln/detail/CVE-2020-13092&gt;

Workarounds and Mitigations

  • Never unpickle untrusted data as it could lead to malicious code being executed upon loading.
  • While models saved using one version of scikit-learn might load in other versions, this is entirely unsupported and inadvisable. It should also be kept in mind that operations performed on such data could give different and unexpected results.
    In order to rebuild a similar model with future versions of scikit-learn, additional metadata should be saved along the pickled model:
  • The training data, e.g. a reference to an immutable snapshot
  • The python source code used to generate the model
  • The versions of scikit-learn and its dependencies
  • The cross validation score obtained on the training data

This should make it possible to check that the cross-validation score is in the same range as before.

Since a model internal representation may be different on two different architectures, dumping a model on one architecture and loading it on another architecture is not supported.

CPENameOperatorVersion
ibm poweraieq1.6.2
ibm poweraieq1.7.0

0.01 Low

EPSS

Percentile

83.7%

Related for 7CFCD56CD9F3812DF1B7D2D3AF0D3725A6C2B36611338736A5558A4B10CF6841