mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-02 09:36:40 +01:00
columnar: Reading on uninitialized buffer may cause UB (#662)
* Report 0102-columnar to RustSec * informational = "unsound"
This commit is contained in:
19
crates/columnar/RUSTSEC-0000-0000.md
Normal file
19
crates/columnar/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,19 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "columnar"
|
||||
date = "2021-01-07"
|
||||
url = "https://github.com/frankmcsherry/columnar/issues/6"
|
||||
categories = ["memory-exposure"]
|
||||
informational = "unsound"
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# columnar: `Read` on uninitialized buffer may cause UB (ColumnarReadExt::read_typed_vec())
|
||||
|
||||
Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation (`ColumnarReadExt::read_typed_vec()`).
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user