Skip to content

CVE-2021-28033 Deserializing an array can free uninitialized memory in byte_struct

CriticalCVSS 9.8 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
byte struct project byte struct < 0.6.1 0.6.1 Fixed
crates.io byte_struct(crates.io) < 0.6.1; >= 0.0.0-0, < 0.6.1 0.6.1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io byte_struct(crates.io) < 0.6.1 0.6.1
crates.io byte_struct(crates.io) >= 0.0.0-0, < 0.6.1 0.6.1
byte struct project byte struct < 0.6.1 0.6.1

References