CVE-2020-13092: scikit-learn Deserialization of Untrusted Data

CVE-2020-13092 · Severity: low · CVSS 3.1 · Published 2020-05-15

** DISPUTED ** 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.

Technologies: scikit-learn (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2020-13092 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-13092 being exploited in the wild.
How severe is CVE-2020-13092?
Low severity, with a CVSS score of 3.1, published 15 May 2020.
Which products and versions are affected?
scikit-learn (PyPI) ECOSYSTEM:introduced=0,fixed=0.23.1, ECOSYSTEM:introduced=0,last_affected=0.23.0.
Is there a fix for CVE-2020-13092?
Yes. scikit-learn (PyPI): upgrade to 0.23.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-13092?
Check whether you run scikit-learn (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • scikit-learn (PyPI): upgrade to 0.23.1 or later
    pip install "scikit-learn>=0.23.1"

Affected products

  • scikit-learn (PyPI) ECOSYSTEM:introduced=0,fixed=0.23.1, ECOSYSTEM:introduced=0,last_affected=0.23.0

Identifiers

  • CVE-2020-13092
  • GHSA-jjw5-xxj6-pcv5
  • PYSEC-2020-107

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.