logo

GHSA-66p5-j55p-32r9 smallvec

Package

Manager: cargo
Name: smallvec
Vulnerable Version: >=0 <0.6.13

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

smallvec creates uninitialized value of any type 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.

Metadata

Created: 2021-08-25T21:00:25Z
Modified: 2021-08-06T16:36:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-66p5-j55p-32r9/GHSA-66p5-j55p-32r9.json
CWE IDs: ["CWE-457"]
Alternative ID: N/A
Finding: F138
Auto approve: 1