GHSA-hmx9-jm3v-33hv: InputStream::read_exact : `Read` on uninitialized buffer causes UB
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
6/16/2022
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| buffoon | rust | <= 0.5.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability documentation explicitly identifies InputStream::read_exact as the problematic function. The core issue is the use of an uninitialized buffer with the Read trait, which is strictly forbidden in Rust's safety model. Multiple sources (GitHub advisory, RustSec advisory, and original issue) consistently point to this specific function as the source of unsoundness. The function's behavior directly contradicts the Read trait's safety requirements documented in std::io::Read.