Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1yamhmLTRtaDgtOXhqcc4AA34F
Zerocopy: Some Ref methods are unsound with some type parameters
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-rjhf-4mh8-9xjqJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yamhmLTRtaDgtOXhqcc4AA34F
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 12 months ago
Updated: 12 months ago
Identifiers: GHSA-rjhf-4mh8-9xjq
References:
- https://github.com/google/zerocopy/issues/679
- https://github.com/google/zerocopy/issues/71
- https://github.com/google/zerocopy/issues/716
- https://rustsec.org/advisories/RUSTSEC-2023-0074.html
- https://github.com/advisories/GHSA-rjhf-4mh8-9xjq
Blast Radius: 0.0
Affected Packages
cargo:zerocopy
Dependent packages: 198Dependent repositories: 963
Downloads: 89,264,027 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.4.1, >= 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, 0.7.33, 0.7.34, 0.7.35, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.8.10, 0.8.11