From baf2125be02bf4e797668e64068276fb06dd5f86 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 8 Jul 2023 12:30:37 +0000 Subject: [PATCH] Update OSV exported data --- crates/RUSTSEC-2020-0078.json | 5 +++-- crates/RUSTSEC-2021-0145.json | 6 ++++-- crates/RUSTSEC-2023-0042.json | 6 ++++-- crates/RUSTSEC-2023-0044.json | 6 ++++-- crates/RUSTSEC-2023-0045.json | 6 ++++-- crates/RUSTSEC-2023-0046.json | 6 ++++-- 6 files changed, 23 insertions(+), 12 deletions(-) diff --git a/crates/RUSTSEC-2020-0078.json b/crates/RUSTSEC-2020-0078.json index 266f42d15..3f12e7fbf 100644 --- a/crates/RUSTSEC-2020-0078.json +++ b/crates/RUSTSEC-2020-0078.json @@ -1,11 +1,12 @@ { "id": "RUSTSEC-2020-0078", - "modified": "2023-06-13T13:10:24Z", + "modified": "2023-07-08T12:30:19Z", "published": "2020-11-07T12:00:00Z", "aliases": [ "CVE-2020-35919", "CVE-2020-35920", - "GHSA-458v-4hrf-g3m4" + "GHSA-458v-4hrf-g3m4", + "GHSA-c79c-gwph-gqfm" ], "related": [], "summary": "`net2` invalidly assumes the memory layout of std::net::SocketAddr", diff --git a/crates/RUSTSEC-2021-0145.json b/crates/RUSTSEC-2021-0145.json index 3e12a7c3f..bd7737bbb 100644 --- a/crates/RUSTSEC-2021-0145.json +++ b/crates/RUSTSEC-2021-0145.json @@ -1,8 +1,10 @@ { "id": "RUSTSEC-2021-0145", - "modified": "2023-06-29T12:21:59Z", + "modified": "2023-07-08T12:30:19Z", "published": "2021-07-04T12:00:00Z", - "aliases": [], + "aliases": [ + "GHSA-g98v-hv3f-hcfr" + ], "related": [], "summary": "Potential unaligned read", "details": "On windows, `atty` dereferences a potentially unaligned pointer.\n\nIn practice however, the pointer won't be unaligned unless a custom global allocator is used.\n\nIn particular, the `System` allocator on windows uses `HeapAlloc`, which guarantees a large enough alignment.\n\n# atty is Unmaintained\n\nA Pull Request with a fix has been provided over a year ago but the maintainer seems to be unreachable.\n\nLast release of `atty` was almost 3 years ago.\n\n## Possible Alternative(s)\n\nThe below list has not been vetted in any way and may or may not contain alternatives;\n\n - [std::io::IsTerminal](https://doc.rust-lang.org/stable/std/io/trait.IsTerminal.html) - Stable since Rust 1.70.0\n - [is-terminal](https://crates.io/crates/is-terminal) - Standalone crate supporting Rust older than 1.70.0", diff --git a/crates/RUSTSEC-2023-0042.json b/crates/RUSTSEC-2023-0042.json index e87bbf82c..7adc5767c 100644 --- a/crates/RUSTSEC-2023-0042.json +++ b/crates/RUSTSEC-2023-0042.json @@ -1,8 +1,10 @@ { "id": "RUSTSEC-2023-0042", - "modified": "2023-06-15T11:07:09Z", + "modified": "2023-07-08T12:30:19Z", "published": "2023-06-11T12:00:00Z", - "aliases": [], + "aliases": [ + "GHSA-87mf-9wg6-ppf8" + ], "related": [], "summary": "Ouroboros is Unsound", "details": "## Summary\n\nOuroboros has a soundness problem, but a fix has been implemented in 0.16.0.\n\n## More details:\n\nIn 0.15.0, Ouroboros works internally by creating a struct where all \nuses of 'this are replaced by 'static. However, a recent addition to \nMiri checks that references passed to functions are valid during the \nentire execution of the function, even when those references are \npassed inside a struct. This poses an issue for dropping \nself-referencing values, as the reference becomes invalid during the \ndropping process. Effectively, since self-referencing structs are \nnot allowed in vanilla Rust, there is no allowance for dropping data\nduring a function that has also been given a reference to that data. \nThere's usually no way to pass a and &a to the same function.\n\nA fix was attempted, where the struct would be turned in to a raw \nbyte array and only transformed back into the underlying data type \ninside each function. This is allowable as a reference can be \ncreated and die over the body of a function, as long as the \nreference was created inside the function. However, this is also \nnot sound if the original struct contains padding. There is no \nway to initialize padding bytes to a known value that Miri will \naccept, so when it is cast to an array some of the bytes contain \nuninitialized values. This is not acceptable (despite the fact \nthat these bytes are never read) due to the potential for \noptimizations that may read from the uninitialized bytes. Besides \nwhich, this fix does not allow for template or constant parameters \nas there is no way to check the size of a templated type without \ngiving specific, concrete values for the template parameters.\n\nThe final solution was to use this fix while wrapping the raw byte\narray in `MaybeUninit<>`.", diff --git a/crates/RUSTSEC-2023-0044.json b/crates/RUSTSEC-2023-0044.json index 10fc4f08d..0ad45dd03 100644 --- a/crates/RUSTSEC-2023-0044.json +++ b/crates/RUSTSEC-2023-0044.json @@ -1,8 +1,10 @@ { "id": "RUSTSEC-2023-0044", - "modified": "2023-06-20T21:34:12Z", + "modified": "2023-07-08T12:30:19Z", "published": "2023-06-20T12:00:00Z", - "aliases": [], + "aliases": [ + "GHSA-xcf7-rvmh-g6q4" + ], "related": [], "summary": "`openssl` `X509VerifyParamRef::set_host` buffer over-read", "details": "When this function was passed an empty string, `openssl` would attempt to call `strlen` on it, reading arbitrary memory until it reached a NUL byte.", diff --git a/crates/RUSTSEC-2023-0045.json b/crates/RUSTSEC-2023-0045.json index 99903460f..c0c07a050 100644 --- a/crates/RUSTSEC-2023-0045.json +++ b/crates/RUSTSEC-2023-0045.json @@ -1,8 +1,10 @@ { "id": "RUSTSEC-2023-0045", - "modified": "2023-06-21T12:29:36Z", + "modified": "2023-07-08T12:30:19Z", "published": "2023-06-21T12:00:00Z", - "aliases": [], + "aliases": [ + "GHSA-wfg4-322g-9vqv" + ], "related": [], "summary": "memoffset allows reading uninitialized memory", "details": "memoffset allows attempt of reading data from address `0` with arbitrary type. This behavior is an undefined behavior because address `0` to `std::mem::size_of` may not have valid bit-pattern with `T`. Old implementation dereferences uninitialized memory obtained from `std::mem::align_of`. Older implementation prior to it allows using uninitialized data obtained from `std::mem::uninitialized` with arbitrary type then compute offset by taking the address of field-projection. This may also result in an undefined behavior for \"father\" that includes (directly or transitively) type that [does not allow to be uninitialized](https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html).\n\nThis flaw was corrected by using `std::ptr::addr_of` in .", diff --git a/crates/RUSTSEC-2023-0046.json b/crates/RUSTSEC-2023-0046.json index 7f4c2d424..37d606338 100644 --- a/crates/RUSTSEC-2023-0046.json +++ b/crates/RUSTSEC-2023-0046.json @@ -1,8 +1,10 @@ { "id": "RUSTSEC-2023-0046", - "modified": "2023-06-22T15:43:08Z", + "modified": "2023-07-08T12:30:19Z", "published": "2023-06-15T12:00:00Z", - "aliases": [], + "aliases": [ + "GHSA-g753-ghr7-q33w" + ], "related": [], "summary": "Misaligned pointer dereference in `ChunkId::new`", "details": "The function `ChunkId::new` creates a misaligned pointer by casting mutable pointer of `u8` slice which has alignment 1 to the mutable pointer of `u32` which has alignment 4, and dereference the misaligned pointer leading UB, which should not be allowed in safe function.",