[ GLSA 202401-01 ] Joblib: Arbitrary Code Execution

[email protected] Tue, 02 Jan 2024 14:39:24 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <170420636448.7.6695437325961249652@4a99fbfff9eb>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202401-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: Joblib: Arbitrary Code Execution
     Date: January 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
-----------------  ------------  ------------
dev-python/joblib  < 1.2.0       >= 1.2.0

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
==========

[ 1 ] CVE-2022-21797
      https://nvd.nist.gov/vuln/detail/CVE-2022-21797

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202401-01

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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2024 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.

https://creativecommons.org/licenses/by-sa/2.5
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmWUIBwACgkQFMQkOaVy
+9lkkxAAqQfkfqFCUNM+qyc4zFlJOzD1lKCUH+nke7BBQLMOTaZE0KGwNKL3VEC5
BVlUeh+vroTg+PRRguRxTj72i7tdQiKtSXm39hZwo78YlRB89Ve4AMgfamBGbdD8
ljvshjT+RrW8yZOFMkrnfdOlNLiRo+lFN7xm2yIcubrUpXyv2L9HXc3S/Wk3az4V
ZqojPNm2mVAPEOVhMJ6EBXrI0243i/a1FoBsM3CZHf5uf8BXl19H9SYPbG+bwQl4
NCWjD1VGfmGpVo+uF42y6yqjLBTImWNhTNPN12gf77JlXZyu8nmqwU/6b69Z5Jtt
ObeHi1KuccamUmod2rO6fe4HetoVTCJnw8Ch+/jpf3g0P64a4jtimbfjjD5pd/vO
hCwyWkQyGnMIoKjl7LdgCIqcJDMSRdVyj5RB6zqK6WKWOCjActbdTchMCeFX7iPo
ADccMTQhvvStCIlF98Q0ydwYD96rQrMmIhOfWoT7MoTlnh5rLF2YDSn8eegS4twS
85IBle4NAUfK6uk92abBqcrmgPxOx/rh6A7Qq119kH9bj9LS7xC6nWb7Du9dsneF
ydGWOcKQCVMj0OuR58TGwAR6TWHsGwrfNj/QXYG5ixxxh5j1uOtgb+pYu2CZxjaq
jz961ApO/PpQ34GyF7dCZWGd7fCbrqHCbWq2oOr7gz7E3cWxxLY=
=Zb/0
-----END PGP SIGNATURE-----