GitHub Advisoryadvisory · crates.io
GHSA-rh89-x75f-rh3c Exposure of uninitialized memory in memoffset
HIGH
Official page ↗
- Aliases
- CVE-2019-15553
- Ecosystem
- crates.io
- Packages
- memoffset
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-908
- Reviewed
- 2021-08-19
Affected packages
• crates.io memoffset: < 0.5.0 → fixed in 0.5.0
Description
Affected versions of this crate caused traps and/or memory unsafety by zero-initializing references. They also could lead to uninitialized memory being dropped if the field for which the offset is requested was behind a deref coercion, and that deref coercion caused a panic. The flaw was corrected by using MaybeUninit.
Related
Alias · CVE (1)
- CVE-2019-15553 An issue was discovered in the memoffset crate before 0.5.0 for Rust. vulnerability
Weakness · CWE (1)
- CWE-908 Use of Uninitialized Resource weakness