GHSA-55m5-whcv-c49c

Suggest an improvement
Source
https://github.com/advisories/GHSA-55m5-whcv-c49c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-55m5-whcv-c49c/GHSA-55m5-whcv-c49c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-55m5-whcv-c49c
Aliases
Published
2022-01-06T22:20:28Z
Modified
2023-11-01T04:49:24.709547Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Use of Uninitialized Resource in smallvec
Details

Affected versions of this crate called mem::uninitialized() to create values of a user-supplied type T. This is unsound e.g. if T is a reference type (which must be non-null and thus may not remain uninitialized). The flaw was corrected by avoiding the use of mem::uninitialized(), using MaybeUninit instead.

References

Affected packages

crates.io / smallvec

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.13