GHSA-jjw5-xxj6-pcv5

Suggest an improvement
Source
https://github.com/advisories/GHSA-jjw5-xxj6-pcv5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jjw5-xxj6-pcv5/GHSA-jjw5-xxj6-pcv5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jjw5-xxj6-pcv5
Aliases
Published
2022-05-24T17:17:59Z
Modified
2024-04-22T23:11:39.865448Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
scikit-learn Deserialization of Untrusted Data
Details

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

Affected packages

PyPI / scikit-learn

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.23.0

Affected versions

0.*

0.9
0.10
0.11
0.12
0.12.1
0.13
0.13.1
0.14
0.14.1
0.15.0
0.15.1
0.15.2
0.16.0
0.16.1
0.17
0.17.1
0.18
0.18.1
0.18.2
0.19.0
0.19.1
0.19.2
0.20.0
0.20.1
0.20.2
0.20.3
0.20.4
0.21.0
0.21.1
0.21.2
0.21.3
0.22
0.22.1
0.22.2
0.22.2.post1
0.23.0