{"id":"CVE-2021-28033","aliases":["RUSTSEC-2021-0032"],"url":"https://o3.security/vulnerability/CVE-2021-28033","summary":"Deserializing an array can free uninitialized memory in byte_struct","details":"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.","published":"2021-08-25T20:52:03Z","modified":"2023-11-08T04:05:27.850049Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"byte_struct","fixedVersion":"0.6.1"}],"fix":{"url":"https://github.com/wwylele/byte-struct-rs/commit/a535678377de12bc6bc22620c5f59bcc1369f76f","label":"wwylele/byte-struct-rs@a535678"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28033"},{"type":"WEB","url":"https://github.com/wwylele/byte-struct-rs/issues/1"},{"type":"WEB","url":"https://github.com/wwylele/byte-struct-rs/commit/a535678377de12bc6bc22620c5f59bcc1369f76f"},{"type":"PACKAGE","url":"https://github.com/wwylele/byte-struct-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0032.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:05:27.850049Z"}}