CVE-2021-45682 `Read` on uninitialized buffer can cause UB (impl of `ReadKVExt`)
An attacker can read uninitialized memory via the ReadKVExt function in the bronzedb-protocol Rust crate, potentially exposing sensitive data.
- 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-45682?
CVE-2021-45682 is a critical 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 bronzedb-protocol crate through 2021-01-03 for Rust. ReadKVExt may read from uninitialized memory locations.
Weakness: CWE-908
Which versions are affected by CVE-2021-45682?
5 open source packages ship an affected version, including bronzedb-protocol. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bronzedb-protocol crates.io | All versions to 0.1.0 | None |
bronzedb-protocol crates.io | All versions to 0.1.0 | None |
bronzedb-protocol crates.io | All versions to 0.1.0 | None |
bronzedb-protocol crates.io | All versions to 0.1.0 | None |
bronzedb-protocol crates.io | From 0.0.0-0 | None |
Products include Bronzedb-Protocol Project Bronzedb-Protocol.
How do I fix CVE-2021-45682?
No fix has been published for CVE-2021-45682 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-45682 being exploited?
There is no known exploitation of CVE-2021-45682 in the wild and no public exploit code.
Sources
Also known as GHSA-5phc-849h-vcxg, GHSA-jv2r-jx6q-89jg, RUSTSEC-2021-0084.