GHSA-8fgg-5v78-6g76
Deserializing an array can free uninitialized memory in byte_struct
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| crates.io | byte_struct | < 0.6.1 | 0.6.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
Byte_struct stack and unpack structure as raw bytes with packed or bit field layout. An issue was discovered in the byte_struct crate before 0.6.1 for Rust. There can be a drop of uninitialized memory if a certain deserialization method panics.
References
External links from the advisory. They lead to third-party sites.