Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zbXY1LTM0M2MtdzJxZ84AA3yl

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

This advisory is also published as RUSTSEC-2023-0074.

The Ref methods into_ref, into_mut, into_slice, and into_slice_mut are unsound and may allow safe code to exhibit undefined behavior when used with Ref<B, T> where B is cell::Ref or cell::RefMut. Note that these methods remain sound when used with B types other than cell::Ref or cell::RefMut.

See https://github.com/google/zerocopy/issues/716 for a more in-depth analysis.

The current plan is to yank the affected versions soon. See https://github.com/google/zerocopy/issues/679 for more detail.

Permalink: https://github.com/advisories/GHSA-3mv5-343c-w2qg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zbXY1LTM0M2MtdzJxZ84AA3yl
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: 5 months ago
Updated: 5 months ago


Identifiers: GHSA-3mv5-343c-w2qg
References: Repository: https://github.com/google/zerocopy
Blast Radius: 0.0

Affected Packages

cargo:zerocopy
Dependent packages: 144
Dependent repositories: 963
Downloads: 27,434,187 total
Affected Version Ranges: >= 0.7.0, < 0.7.31, >= 0.6.0, < 0.6.6, >= 0.5.0, < 0.5.2, = 0.4.0, >= 0.3.0, < 0.3.2, >= 0.2.2, < 0.2.9
Fixed in: 0.7.31, 0.6.6, 0.5.2, 0.4.1, 0.3.2, 0.2.9
All affected versions: 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.11, 0.7.12, 0.7.13, 0.7.14, 0.7.15, 0.7.16, 0.7.17, 0.7.18, 0.7.19, 0.7.20, 0.7.21, 0.7.22, 0.7.23, 0.7.24, 0.7.25, 0.7.26, 0.7.27, 0.7.28, 0.7.29, 0.7.30
All unaffected versions: 0.0.0, 0.1.0, 0.2.0, 0.2.1, 0.2.9, 0.3.2, 0.4.1, 0.5.2, 0.6.6, 0.7.31, 0.7.32