CVE-2021-29936 Free of uninitialized memory in adtensor
Attackers can trigger memory corruption via uninitialized memory drops in the adtensor Rust crate, potentially leading to crashes or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-29936?
CVE-2021-29936 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 adtensor crate through 2021-01-11 for Rust. There is a drop of uninitialized memory via the FromIterator implementation for Vector and Matrix.
Weakness: CWE-908
Which versions are affected by CVE-2021-29936?
3 open source packages ship an affected version, including adtensor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
adtensor crates.io | All versions to 0.0.3 | None |
adtensor crates.io | All versions to 0.0.3 | None |
adtensor crates.io | From 0.0.0-0 | None |
Products include Adtensor Project Adtensor.
How do I fix CVE-2021-29936?
No fix has been published for CVE-2021-29936 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-29936 being exploited?
There is no known exploitation of CVE-2021-29936 in the wild and no public exploit code.
Sources
Also known as GHSA-rg4m-gww5-7p47, RUSTSEC-2021-0045.