Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency joblib to v1.2.0 #2

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Sep 27, 2022

This PR contains the following updates:

Package Update Change
joblib (source) minor ==1.1.0 -> ==1.2.0

By merging this PR, the below vulnerabilities will be automatically resolved:

Severity CVSS Score CVE
High High 9.8 CVE-2022-21797

Release Notes

joblib/joblib

v1.2.0

Compare Source

  • Fix a security issue where eval(pre_dispatch) could potentially run
    arbitrary code. Now only basic numerics are supporthttps://github.com/joblib/joblib/pull/1327ull/1327

  • Make sure that joblib works even when multiprocessing is not available,
    for instance with Pyodhttps://github.com/joblib/joblib/pull/1256ull/1256

  • Avoid unnecessary warnings when workers and main process delete
    the temporary memmap folder contents concurrenthttps://github.com/joblib/joblib/pull/1263ull/1263

  • Fix memory alignment bug for pickles containing numpy arrays.
    This is especially important when loading the pickle with
    mmap_mode != None as the resulting numpy.memmap object
    would not be able to correct the misalignment without performing
    a memory copy.
    This bug would cause invalid computation and segmentation faults
    with native code that would directly access the underlying data
    buffer of a numpy array, for instance C/C++/Cython code compiled
    with older GCC versions or some old OpenBLAS written in plathttps://github.com/joblib/joblib/pull/1254thub.com/Make sure arrays are bytes aligned in joblib pickles joblib/joblib#1254

  • Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+.

  • Vendor loky 3.3.0 which fixes several bugs including:

    • robustly forcibly terminating worker processes in case of a crash
      https://github.com/joblib/joblib/pull/1269ull/1269);

    • avoiding leaking worker processes in case of nested loky parallel
      calls;

    • reliability spawn the correct number of reusable workers.

v1.1.1

Compare Source


  • If you want to rebase/retry this PR, click this checkbox.

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by Mend label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security fix Security fix generated by Mend
Projects
None yet
0 participants