
Cloud Vulnerability DB
A community-led vulnerabilities database
A memory safety vulnerability was discovered in the bronzedb-protocol crate through version 2021-01-03 for Rust, identified as RUSTSEC-2021-0084 (CVE-2021-45682). The vulnerability involves the ReadKVExt implementation which may read from uninitialized memory locations, potentially leading to undefined behavior (RUSTSEC Advisory, NVD).
The vulnerability exists in the implementation of ReadKVExt trait where both read_key() and read_value() methods create an uninitialized u8 buffer and pass it to user-provided Read implementation. This violates the safety requirements of the Read trait, which specifies that the buffer must be initialized before calling read. The issue was discovered by the Rust group at Georgia Tech while scanning Rust code on crates.io (GitHub Issue). The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability allows reading from uninitialized memory locations, which can lead to undefined behavior in safe Rust code. This type of memory safety issue could potentially result in information disclosure, code execution, or system crashes (NVD).
The vulnerability is remotely exploitable with low attack complexity and requires no privileges or user interaction. The attack vector is network-accessible, making it particularly dangerous (NVD).
The suggested fix is to zero-initialize the newly allocated u8 buffer before read(), which prevents user-provided Read implementations from reading old contents of the newly allocated heap memory (GitHub Issue).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."