CVE-2021-28033 – byte_struct
Package
Manager: cargo
Name: byte_struct
Vulnerable Version: >=0 <0.6.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.0046 pctl0.63215
Details
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.
Metadata
Created: 2021-08-25T20:52:03Z
Modified: 2022-05-04T03:04:59Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8fgg-5v78-6g76/GHSA-8fgg-5v78-6g76.json
CWE IDs: ["CWE-119", "CWE-908"]
Alternative ID: GHSA-8fgg-5v78-6g76
Finding: F138
Auto approve: 1