byte_struct
Affected
- introduced
0, fixed0.6.1(semver)
Fixed versions
0.6.1
Fix
- Fixed version
0.6.1cargo update -p byte_struct --precise 0.6.1
Advisory
Also known as: CVE-2021-28033, RUSTSEC-2021-0032
Deserializing an array can free uninitialized memory in byte_struct
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 0.6.1 (semver)0.6.1
0.6.1cargo update -p byte_struct --precise 0.6.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0