mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-07 04:01:35 +01:00
Add advisory for uninitialized exposure in uu_od (#836)
This commit is contained in:
22
crates/uu_od/RUSTSEC-0000-0000.md
Normal file
22
crates/uu_od/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,22 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "uu_od"
|
||||
date = "2021-02-17"
|
||||
url = "https://github.com/uutils/coreutils/issues/1729"
|
||||
categories = ["memory-exposure"]
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.0.4"]
|
||||
```
|
||||
|
||||
# PartialReader passes uninitialized memory to user-provided Read
|
||||
|
||||
Affected versions of this crate passed an uniniitalized buffer to a
|
||||
user-provided `Read` instance in `PartialReader::read`.
|
||||
|
||||
This can result in safe `Read` implementations reading from the uninitialized
|
||||
buffer leading to undefined behavior.
|
||||
|
||||
The flaw was fixed in commit [`39d62c6`](https://github.com/uutils/coreutils/commit/39d62c6c1f809022c903180471c10fde6ecd12d1)
|
||||
by zero-initializing the passed buffer.
|
||||
Reference in New Issue
Block a user