VDB
Sign up
HIGH

GHSA-5phc-849h-vcxg

`Read` on uninitialized buffer can cause UB (impl of `ReadKVExt`)

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/bronzedb-protocol
Introduced in: 0

No fixed version published yet for bronzedb-protocol. Pin to a known-safe version or switch to an alternative.

References