Ref methods into_ref, into_mut, into_slice, and into_slice_mut are unsound when used with cell::Ref or cell::RefMut

Severity: info · Published 2023-12-15

Ref methods into_ref, into_mut, into_slice, and into_slice_mut are unsound when used with cell::Ref or cell::RefMut

Technologies: zerocopy (crates.io). Vendors: crates.io.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 15 December 2023.
Which products and versions are affected?
zerocopy (crates.io) SEMVER:introduced=0.2.2,fixed=0.2.9.
Is there a fix for This vulnerability?
Yes. zerocopy (crates.io): upgrade to 0.2.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run zerocopy (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • zerocopy (crates.io): upgrade to 0.2.9 or later
    cargo update -p zerocopy

Affected products

  • zerocopy (crates.io) SEMVER:introduced=0.2.2,fixed=0.2.9

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.