mirror of
https://github.com/rustsec/advisory-db.git
synced 2025-12-27 01:54:07 -05:00
749 B
749 B
[advisory]
id = "RUSTSEC-2021-0084"
package = "bronzedb-protocol"
date = "2021-01-03"
url = "https://github.com/Hexilee/BronzeDB/issues/1"
categories = ["memory-exposure"]
informational = "unsound"
aliases = ["CVE-2021-45682", "GHSA-5phc-849h-vcxg", "GHSA-jv2r-jx6q-89jg"]
[versions]
patched = []
Read on uninitialized buffer can cause UB (impl of ReadKVExt)
Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation.
Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.
Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.