Register for the AI for Security Summit: Join Figma, Perplexity & Wiz
Vulnerability DatabaseRUSTSEC-2021-0084

RUSTSEC-2021-0084
Rust vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management