mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-29 07:46:22 +01:00
Add advisory for uninitialized exposure in messagepack-rs (#835)
This commit is contained in:
25
crates/messagepack-rs/RUSTSEC-0000-0000.md
Normal file
25
crates/messagepack-rs/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,25 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "messagepack-rs"
|
||||
date = "2021-01-26"
|
||||
url = "https://github.com/otake84/messagepack-rs/issues/2"
|
||||
categories = ["memory-exposure"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# Deserialization functions pass uninitialized memory to user-provided Read
|
||||
|
||||
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 uninitialized
|
||||
buffer leading to undefined behavior.
|
||||
|
||||
Reference in New Issue
Block a user