ADVISORIES

RustSec Advisory Database

RUSTSEC-2021-0051

KeyValueReader passes uninitialized memory to Read instance

Details

The KeyValueReader type in affected versions of this crate set up an uninitialized memory buffer and passed them to be read in to a user-provided Read instance.

The Read instance could read uninitialized memory and cause undefined behavior and miscompilations.

This issue was fixed in commit dd59b30 by zero-initializing the buffers before passing them.

Affected packages

EcosystemPackageAffected versions
crates.ioouter_cgi
From 0.0.0-0 before 0.2.1 (fixed in 0.2.1)

References