From efaf928de4213eb273053291ac856f3e9c27544e Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 19:20:08 +0000 Subject: [PATCH] Publish GHSA-rjhf-4mh8-9xjq --- .../GHSA-rjhf-4mh8-9xjq.json | 161 ++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 advisories/github-reviewed/2023/12/GHSA-rjhf-4mh8-9xjq/GHSA-rjhf-4mh8-9xjq.json diff --git a/advisories/github-reviewed/2023/12/GHSA-rjhf-4mh8-9xjq/GHSA-rjhf-4mh8-9xjq.json b/advisories/github-reviewed/2023/12/GHSA-rjhf-4mh8-9xjq/GHSA-rjhf-4mh8-9xjq.json new file mode 100644 index 00000000000..2455a074638 --- /dev/null +++ b/advisories/github-reviewed/2023/12/GHSA-rjhf-4mh8-9xjq/GHSA-rjhf-4mh8-9xjq.json @@ -0,0 +1,161 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-rjhf-4mh8-9xjq", + "modified": "2023-12-18T19:18:46Z", + "published": "2023-12-18T19:18:46Z", + "aliases": [ + + ], + "summary": "Zerocopy: Some Ref methods are unsound with some type parameters", + "details": "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` where `B` is [`cell::Ref`](https://doc.rust-lang.org/core/cell/struct.Ref.html) or [`cell::RefMut`](https://doc.rust-lang.org/core/cell/struct.RefMut.html). Note that these methods remain sound when used with `B` types other than `cell::Ref` or `cell::RefMut`.\n\nSee https://github.com/google/zerocopy/issues/716 for a more in-depth analysis.\n\nThe current plan is to yank the affected versions soon. See https://github.com/google/zerocopy/issues/679 for more detail.\n", + "severity": [ + + ], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "zerocopy" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.2.2" + }, + { + "fixed": "0.2.9" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "crates.io", + "name": "zerocopy" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.3.0" + }, + { + "fixed": "0.3.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "crates.io", + "name": "zerocopy" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.4.0" + }, + { + "fixed": "0.4.1" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "crates.io", + "name": "zerocopy" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.5.0" + }, + { + "fixed": "0.5.2" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "crates.io", + "name": "zerocopy" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.6.0" + }, + { + "fixed": "0.6.6" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "crates.io", + "name": "zerocopy" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.7.0" + }, + { + "fixed": "0.7.31" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/google/zerocopy/issues/679" + }, + { + "type": "WEB", + "url": "https://github.com/google/zerocopy/issues/71" + }, + { + "type": "WEB", + "url": "https://github.com/google/zerocopy/issues/716" + }, + { + "type": "PACKAGE", + "url": "https://github.com/google/zerocopy" + }, + { + "type": "WEB", + "url": "https://rustsec.org/advisories/RUSTSEC-2023-0074.html" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2023-12-18T19:18:46Z", + "nvd_published_at": null + } +} \ No newline at end of file