RUSTSEC-2020-0041
Multiple soundness issues in Chunk and InlineArray
- Reported
- Issued
- Package
- sized-chunks (crates.io)
- Type
- Vulnerability
- Aliases
- References
- CVSS Score
- 7.5 HIGH
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Patched
-
>=0.6.3
Description
Chunk:
- Array size is not checked when constructed with
unit()
andpair()
. - Array size is not checked when constructed with
From<InlineArray<A, T>>
. Clone
andinsert_from
are not panic-safe; A panicking iterator causes memory safety issues with them.
InlineArray:
- Generates unaligned references for types with a large alignment requirement.
Advisory available under CC0-1.0 license.