Bug 2129823 (CVE-2022-21797)

Summary: CVE-2022-21797 joblib: Arbitrary Code Execution in joblib
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: besser82, igor.raits, sergio.pasra
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: joblib 1.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-28 03:55:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2129824    
Bug Blocks:    

Description Avinash Hanwate 2022-09-26 11:03:44 UTC
The package joblib from 0 and before 1.2.0 are vulnerable to Arbitrary Code Execution via the pre_dispatch flag in Parallel() class due to the eval() statement.

https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059
https://github.com/joblib/joblib/issues/1128
https://github.com/joblib/joblib/pull/1321
https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033

Comment 1 Avinash Hanwate 2022-09-26 11:05:05 UTC
Created python-joblib tracking bugs for this issue:

Affects: fedora-all [bug 2129824]

Comment 2 Fedora Update System 2022-10-08 17:33:38 UTC
FEDORA-2022-c0bfe37ae5 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2022-11-10 22:08:41 UTC
FEDORA-2022-c83ce1c000 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Product Security DevOps Team 2022-11-28 03:55:39 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.