Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThmZ2ctNXY3OC02Zzc2
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.
Permalink: https://github.com/advisories/GHSA-8fgg-5v78-6g76JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThmZ2ctNXY3OC02Zzc2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: over 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-8fgg-5v78-6g76, CVE-2021-28033
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-28033
- https://github.com/wwylele/byte-struct-rs/issues/1
- https://rustsec.org/advisories/RUSTSEC-2021-0032.html
- https://github.com/wwylele/byte-struct-rs/commit/a535678377de12bc6bc22620c5f59bcc1369f76f
- https://github.com/advisories/GHSA-8fgg-5v78-6g76
Blast Radius: 6.8
Affected Packages
cargo:byte_struct
Dependent packages: 1Dependent repositories: 5
Downloads: 55,906 total
Affected Version Ranges: < 0.6.1
Fixed in: 0.6.1
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0
All unaffected versions: 0.6.1, 0.7.0, 0.7.1, 0.8.0, 0.9.0