icon

We found results for “

WS-2021-0016

Good to know:

icon

Date: January 26, 2021

"ms3d" package before 0.1.3 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. The flaw was fixed in version 1.1.3 (commit 599313b) by zero-initializing the buffer (via "self.buf.resize(len, 0)") before passing it to "Read".

Language: RUST

Severity Score

Weakness Type (CWE)

Improper Initialization

CWE-665

Top Fix

icon

Upgrade Version

Upgrade to version 0.1.3

Learn More

Do you need more information?

Contact Us