mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 16:34:33 -06:00
Update OSV exported data
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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<>`.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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<T>` 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 <https://github.com/Gilnaa/memoffset/pull/50>.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user