{ "schema_version": "1.4.0", "id": "GHSA-8fgg-5v78-6g76", "modified": "2022-05-04T03:04:59Z", "published": "2021-08-25T20:52:03Z", "aliases": [ "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "byte_struct" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.6.1" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-119", "CWE-908" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-08-19T17:25:30Z", "nvd_published_at": "2021-03-05T09:15:00Z" } }