Skip to content
CriticalVulnerability

CVE-2020-13092: scikit-learn unsafe deserialization via joblib.load of untrusted file

Identifier
CVE-2020-13092
Published
Record updated
View JSON
Affected
  • scikit-learn <= 0.23.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
3.4%

Summary

scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file passed to joblib.load(), if __reduce__ makes an os.system call. Third parties dispute this issue, noting that joblib.load() is documented as unsafe and that using it securely is the user's responsibility. The weakness is classified as CWE-502, Deserialization of Untrusted Data.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.