Vulnerability DatabaseRUSTSEC-2021-0046

RUSTSEC-2021-0046
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the telemetry crate through 2021-02-17 for Rust, identified as RUSTSEC-2021-0046 (CVE-2021-29937). The vulnerability involves a potential drop of uninitialized memory that can occur if a value.clone() call panics within the misc::vec_with_size() function (NVD, CVE).

Technical details

The vulnerability exists in the misc::vec_with_size() function where user-provided T::clone() can potentially panic. If T::clone() panics while the vector is partially uninitialized, it leads to uninitialized memory being dropped, resulting in undefined behavior. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The weakness is classified as CWE-908 (Use of Uninitialized Resource) (GitHub Issue, NVD).

Impact

The vulnerability can lead to undefined behavior due to the dropping of uninitialized memory, potentially resulting in high impacts on confidentiality, integrity, and availability of the affected system (NVD).

Exploitability

The vulnerability has been assigned high exploitability metrics with network vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), and no user interaction needed (UI:N) (NVD).

Community reactions

The vulnerability was initially discovered and reported by the Rust group at Georgia Tech (sslab-gatech) while scanning Rust code on crates.io for potential vulnerabilities (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

RUSTSEC-2026-0242NONEN/A
  • Rust logoRust
  • dcrypt-api
NoYesAug 09, 2026
RUSTSEC-2026-0240NONEN/A
  • Rust logoRust
  • dcrypt-sign
NoYesAug 09, 2026
RUSTSEC-2026-0239NONEN/A
  • Rust logoRust
  • dcrypt-symmetric
NoYesAug 09, 2026
RUSTSEC-2026-0238NONEN/A
  • Rust logoRust
  • dcrypt-algorithms
NoYesAug 09, 2026
RUSTSEC-2026-0246NONEN/A
  • Rust logoRust
  • sevenz-rust
NoNoAug 06, 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