Deserialization functions pass uninitialized memory to user-provided Read
High severity
GitHub Reviewed
Published
Jun 17, 2022
to the GitHub Advisory Database
•
Updated Jun 13, 2023
Description
Published to the GitHub Advisory Database
Jun 17, 2022
Reviewed
Jun 17, 2022
Last updated
Jun 13, 2023
Affected versions of this crate passed an uninitialized buffer to a
user-provided
Read
instance in:deserialize_binary
deserialize_string
deserialize_extension_others
deserialize_string_primitive
This can result in safe
Read
implementations reading from the uninitializedbuffer leading to undefined behavior.
References