RUSTSEC-2020-0154
Dashboard / Vulnerabilities / RUSTSEC-2020-0154
RUSTSEC-2020-0154
Published: 31 Dec 2020Last Modified: 8 Nov 2023
Summary: InputStream::read_exact : `Read` on uninitialized buffer causes UB
Details: Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation. 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.
References: https://crates.io/crates/buffoon, https://rustsec.org/advisories/RUSTSEC-2020-0154.html, https://github.com/carllerche/buffoon/issues/2
Affected packages
Package
Name: buffoon
Purl: pkg:cargo/buffoon
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
