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

chore(deps): update dependency joblib to v1 [security] #27

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 7, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
joblib ==0.15.1 -> ==1.2.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2022-21797

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


Release Notes

joblib/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:/joblib/joblib/pull/1327ull/1327

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

  • Avoid unnecessary warnings when workers and main process delete
    the temporary memmap folder contents concurrenthttps:/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:/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:/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

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

v1.1.0

Compare Source

  • Fix byte order inconsistency issue during deserialization using joblib.load
    in cross-endian environment: the numpy arrays are now always loaded to
    use the system byte order, independently of the byte order of the system
    that serialized https:/joblib/joblib/pull/1181joblib/pull/1181

  • Fix joblib.Memory bug with the ignore parameter when the cached function
    is a decorated functihttps:/joblib/joblib/pull/1165ull/1165

  • Fix joblib.Memory to properly handle caching for functions defined
    interactively in a IPython session or in Jupyter notebook cehttps:/joblib/joblib/pull/1214ull/1214

  • Update vendored loky (from version 2.9 to 3.0) and cloudpickle (from
    version 1.6 to 2https:/joblib/joblib/pull/1218ull/1218

v1.0.1

Compare Source

  • Add check_call_in_cache method to check cache without calling function.
    https:/joblib/joblib/pull/820/820

  • dask: avoid redundant scattering of large arguments to make a more
    efficient use of the network resources and avoid crashing dask with
    "OSError: [Errno 55] No buffer space available"
    or "ConnectionResetError: [Errno 104] connection rehttps:/joblib/joblib/pull/1133b/joblib/pull/1133

v1.0.0

Compare Source

  • Make joblib.hash and joblib.Memory caching system compatible with `numpy

    = 1.20.0. Also make it explicit in the documentation that users should now expect to have their joblib.Memorycache invalidated when eitherjoblibor a third party library involved in the cached values definition is upgraded. In particular, users updatingjoblibto a release that includes this fix will see their previous cache invalidated if they contained reference tonumpy` objects.https:/joblib/joblib/pull/1136ll/1136

  • Remove deprecated check_pickle argument in delayed.
    https:/joblib/joblib/pull/903/903

v0.17.0

Compare Source

  • Fix a spurious invalidation of Memory.cache'd functions called with
    Parallel under Jupyter or IPython.
    https:/joblib/joblib/pull/10931093

  • Bump vendored loky to 2.9.0 and cloudpickle to 1.6.0. In particular
    this fixes a problem to add compat for Python 3.9.

v0.16.0

Compare Source

  • Fix a problem in the constructors of Parallel backends classes that
    inherit from the AutoBatchingMixin that prevented the dask backend to
    properly batch short tashttps:/joblib/joblib/pull/1062ull/1062

  • Fix a problem in the way the joblib dask backend batches calls that would
    badly interact with the dask callable pickling cache and lead to wrong
    results or https:/joblib/joblib/pull/1055ib/pull/1055

  • Prevent a dask.distributed bug from surfacing in joblib's dask backend
    during nested Parallel calls (due to joblib's auto-scattering featuhttps:/joblib/joblib/pull/1061ull/1061

  • Workaround for a race condition after Parallel calls with the dask backend
    that would cause low level warnings from asyncio coroutinhttps:/joblib/joblib/pull/1078ull/1078


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

@renovate renovate bot enabled auto-merge (squash) August 7, 2024 21:37
@renovate renovate bot changed the title chore(deps): update dependency joblib to v1 [security] chore(deps): update dependency joblib to v1 [security] - autoclosed Aug 7, 2024
@renovate renovate bot closed this Aug 7, 2024
auto-merge was automatically disabled August 7, 2024 22:47

Pull request was closed

@renovate renovate bot deleted the renovate/pypi-joblib-vulnerability branch August 7, 2024 22:47
@renovate renovate bot changed the title chore(deps): update dependency joblib to v1 [security] - autoclosed chore(deps): update dependency joblib to v1 [security] Aug 7, 2024
@renovate renovate bot reopened this Aug 7, 2024
@renovate renovate bot restored the renovate/pypi-joblib-vulnerability branch August 7, 2024 23:16
@renovate renovate bot requested review from DerekRoberts and a team as code owners August 7, 2024 23:16
@renovate renovate bot enabled auto-merge (squash) August 7, 2024 23:17
@renovate renovate bot force-pushed the renovate/pypi-joblib-vulnerability branch from 1b8bd82 to 80f0a7a Compare August 7, 2024 23:17
@renovate renovate bot force-pushed the renovate/pypi-joblib-vulnerability branch from 80f0a7a to 67bd3cc Compare August 8, 2024 17:33
auto-merge was automatically disabled August 8, 2024 21:07

Pull request was closed

Copy link
Contributor Author

renovate bot commented Aug 8, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 1.x releases. But if you manually upgrade to 1.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/pypi-joblib-vulnerability branch August 8, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant