RUSTSEC-2020-0026

linked-hash-map creates uninitialized NonNull pointer

Issued
Package
linked-hash-map (crates.io)
Type
Unsound
Aliases
Details
https://github.com/contain-rs/linked-hash-map/pull/100
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Patched
  • >=0.5.3

Description

Affected versions of this crate called mem::uninitialized() to create a NonNull<T>, which is undefined behavior.

The flaw was corrected by avoiding the use of mem::uninitialized().

More