CVE-2021-45691 Use of Uninitialized Resource in messagepack-rs
Attackers can trigger uninitialized memory reads in the messagepack-rs Rust crate, potentially exposing sensitive data or causing crashes.
- 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-45691?
CVE-2021-45691 is a critical memory corruption vulnerability in n/a, published on 26 Dec 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 messagepack-rs crate through 2021-01-26 for Rust. deserialize_string may read from uninitialized memory locations.
Weakness: CWE-908
Which versions are affected by CVE-2021-45691?
2 open source packages ship an affected version, including messagepack-rs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
messagepack-rs crates.io | All versions to 0.8.1 | None |
messagepack-rs crates.io | All versions to 0.8.1 | None |
Products include Messagepack-Rs Project Messagepack-Rs.
How do I fix CVE-2021-45691?
No fix has been published for CVE-2021-45691 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-45691 being exploited?
There is no known exploitation of CVE-2021-45691 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jwfh-j623-m97h.