GitHub Advisoryadvisory · crates.io
GHSA-w5cr-frph-hw7f Use of uninitialized buffer in rkyv
HIGH
Official page ↗
- Aliases
- CVE-2021-31919
- Ecosystem
- crates.io
- Packages
- rkyv
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-772, CWE-908
- Reviewed
- 2021-05-25
Affected packages
• crates.io rkyv: < 0.6.0 → fixed in 0.6.0
Description
An issue was discovered in the rkyv crate before 0.6.0 for Rust. When an archive is created via serialization, the archive content may contain uninitialized values of certain parts of a struct.
Related
Alias · CVE (1)
- CVE-2021-31919 An issue was discovered in the rkyv crate before 0.6.0 for Rust. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-31919 advisory
- https://github.com/djkoloski/rkyv/issues/113 web
- https://github.com/djkoloski/rkyv/commit/9c65ae9c2c67dd949b5c3aba9b8eba6da802ab7e web
- https://github.com/djkoloski/rkyv/commit/f141b560523a20557db6540576d153010bd18712 web
- https://rustsec.org/advisories/RUSTSEC-2021-0054.html web