- Reported
-
- Issued
-
- Package
-
truetype
(crates.io)
- Type
-
Vulnerability
- Categories
-
- Aliases
-
- References
-
- CVSS Score
- 7.5
HIGH
- CVSS Details
-
- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- None
- Scope
- Unchanged
- Confidentiality Impact
- High
- Integrity Impact
- None
- Availability Impact
- None
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Patched
-
Description
Affected versions of this crate passed an unininitialized buffer to a
user-provided Read instance in Tape::take_bytes.
This can result in safe Read implementations reading from the uninitialized
buffer leading to undefined behavior.
The flaw was corrected in commit 1f2dc7f37dd by removing the unsafe block
and zero-initializing the buffer.
Advisory available under CC0-1.0
license.