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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org patch third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product
- crates.io product