From 5546e9520dbee09074d4bccc19d2320afcb0833b Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 2 Aug 2022 19:47:46 +0000 Subject: [PATCH] Update OSV exported data --- crates/RUSTSEC-2022-0040.json | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 crates/RUSTSEC-2022-0040.json diff --git a/crates/RUSTSEC-2022-0040.json b/crates/RUSTSEC-2022-0040.json new file mode 100644 index 000000000..9dbb214d2 --- /dev/null +++ b/crates/RUSTSEC-2022-0040.json @@ -0,0 +1,72 @@ +{ + "id": "RUSTSEC-2022-0040", + "modified": "2022-08-02T19:47:23Z", + "published": "2022-01-26T12:00:00Z", + "aliases": [], + "related": [], + "summary": "Multiple soundness issues in `owning_ref`", + "details": "- `OwningRef::map_with_owner` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/77) and may result in a use-after-free.\n- `OwningRef::map` is [unsound](https://github.com/Kimundi/owning-ref-rs/issues/71) and may result in a use-after-free.\n- `OwningRefMut::as_owner` and `OwningRefMut::as_owner_mut` are [unsound](https://github.com/Kimundi/owning-ref-rs/issues/61) and may result in a use-after-free.\n- The crate [violates Rust's aliasing rules](https://github.com/Kimundi/owning-ref-rs/issues/49), which may cause miscompilations on recent compilers that emit the LLVM `noalias` attribute.\n\nNo patched versions are available at this time. While a pull request with some fixes is outstanding, the maintainer appears to be unresponsive.", + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "owning_ref", + "purl": "pkg:cargo/owning_ref" + }, + "ecosystem_specific": { + "affects": { + "arch": [], + "os": [], + "functions": [] + } + }, + "database_specific": { + "categories": [ + "memory-corruption" + ], + "cvss": null, + "informational": null + }, + "ranges": [ + { + "type": "SEMVER", + "events": [ + { + "introduced": "0.0.0-0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "PACKAGE", + "url": "https://crates.io/crates/owning_ref" + }, + { + "type": "ADVISORY", + "url": "https://rustsec.org/advisories/RUSTSEC-2022-0040.html" + }, + { + "type": "WEB", + "url": "https://github.com/noamtashma/owning-ref-unsoundness" + }, + { + "type": "REPORT", + "url": "https://github.com/Kimundi/owning-ref-rs/issues/49" + }, + { + "type": "REPORT", + "url": "https://github.com/Kimundi/owning-ref-rs/issues/61" + }, + { + "type": "REPORT", + "url": "https://github.com/Kimundi/owning-ref-rs/issues/71" + }, + { + "type": "REPORT", + "url": "https://github.com/Kimundi/owning-ref-rs/issues/77" + } + ] +} \ No newline at end of file