GLSA 202401-01: Joblib: Arbitrary Code Execution

Severity:high
Title:Joblib: Arbitrary Code Execution
Date:01/02/2024
Bugs: #873151
ID:202401-01

Synopsis

A vulnerability has been found in Joblib which allows for arbitrary code execution.

Background

Joblib is a set of tools to provide lightweight pipelining in Python. In particular: 1. transparent disk-caching of functions and lazy re-evaluation (memoize pattern) 2. easy simple parallel computing Joblib is optimized to be fast and robust on large data in particular and has specific optimizations for numpy arrays.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-python/joblib < 1.2.0 >= 1.2.0 All supported architectures

Description

A vulnerability has been discovered in Joblib. Please review the CVE identifier referenced below for details.

Impact

Joblib is vulnerable to arbitrary code execution via the pre_dispatch flag in Parallel() class due to the eval() statement.

Workaround

There is no known workaround at this time.

Resolution

All Joblib users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-python/joblib-1.2.0"
        

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202401-01.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!