CVE-2022-21797: Arbitrary Code Execution

Published Sep 26, 2022
·
Updated

The package joblib from 0 and before 1.2.0 are vulnerable to Arbitrary Code Execution via the predispatch flag in Parallel() class due to the eval() statement.

Other sources

The package joblib from 0 and before 1.2.0 is vulnerable to Arbitrary Code Execution via the predispatch flag in Parallel() class due to the eval() statement.

Affected Software

7 affected componentsFixes available
pip/joblib<1.2.0
1.2.0
Joblib Project Joblib Python<1.1.1
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=10.0
IBM Watson Studio on Cloud Pak for Data<=4.0
IBM Watson Studio on Cloud Pak for Data<=5.0

Event History

Sep 26, 2022
CVE Published
via MITRE·05:05 AM
Data Sourced
via MITRE·05:05 AM
DescriptionSeverityWeakness
Sep 27, 2022
Advisory Published
via GitHub·12:00 AM
Aug 28, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-21797?

CVE-2022-21797 is classified as a high severity vulnerability due to the risk of arbitrary code execution.

2

How do I fix CVE-2022-21797?

To fix CVE-2022-21797, upgrade the joblib package to version 1.2.0 or higher.

3

What systems are affected by CVE-2022-21797?

CVE-2022-21797 affects joblib versions from 0 to 1.1.1, specifically those installed via pip and certain Linux distributions like Fedora and Debian.

4

What type of vulnerability is CVE-2022-21797?

CVE-2022-21797 is an arbitrary code execution vulnerability caused by the misuse of the eval() function in the joblib library.

5

Can CVE-2022-21797 be exploited remotely?

Yes, CVE-2022-21797 can be exploited remotely if an attacker can control the input parameters sent to the affected joblib function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203