CVE-2021-29937 Free of uninitialized memory in telemetry
A vulnerability in the Rust telemetry crate allows attackers to cause a crash or undefined behavior by triggering a panic during a clone operation on uninitialized memory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-29937?
CVE-2021-29937 is a critical memory corruption vulnerability in n/a, published on 1 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the telemetry crate through 2021-02-17 for Rust. There is a drop of uninitialized memory if a value.clone() call panics within misc::vec_with_size().
Weakness: CWE-908
Which versions are affected by CVE-2021-29937?
2 open source packages ship an affected version, including telemetry. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
telemetry crates.io | All versions | 0.1.3 |
telemetry crates.io | All versions | 0.1.3 |
Products include Telemetry Project Telemetry.
How do I fix CVE-2021-29937?
Upgrade telemetry to 0.1.3 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-29937 being exploited?
There is no known exploitation of CVE-2021-29937 in the wild and no public exploit code.
Sources
Also known as GHSA-hpcx-3pw8-g3j2.