You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected versions of this crate passes an uninitialized buffer to a user-provided trait function AsyncRead::poll_read().
Arbitrary AsyncRead::poll_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 commit 5ba266a by ensuring the newly allocated part of the buffer is zero-initialized before passing it to a user-provided AsyncRead::poll_read().
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you think this is an important issue, notify it directly by email to: [email protected]
libp2p-deflate
0.23.0
>=0.27.1
Affected versions of this crate passes an uninitialized buffer to a user-provided trait function
AsyncRead::poll_read()
.Arbitrary
AsyncRead::poll_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 commit 5ba266a by ensuring the newly allocated part of the buffer is zero-initialized before passing it to a user-provided
AsyncRead::poll_read()
.See advisory page for additional details.
The text was updated successfully, but these errors were encountered: