Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. scikit-learn
  4. ›
  5. CVE-2020-13092

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

May 24, 2022 (updated October 22, 2024)

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.

References

  • github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md
  • github.com/advisories/GHSA-jjw5-xxj6-pcv5
  • github.com/pypa/advisory-database/tree/main/vulns/scikit-learn/PYSEC-2020-107.yaml
  • github.com/scikit-learn/scikit-learn
  • nvd.nist.gov/vuln/detail/CVE-2020-13092
  • scikit-learn.org/stable/modules/model_persistence.html

Code Behaviors & Features

Detect and mitigate CVE-2020-13092 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.23.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/scikit-learn/CVE-2020-13092.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:39 +0000.