RUSTSEC-2021-0068
Dashboard / Vulnerabilities / RUSTSEC-2021-0068
RUSTSEC-2021-0068
Published: 19 May 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Soundness issue in `iced-x86` versions <= 1.10.3
Details: Versions of iced-x86 <= 1.10.3 invoke undefined behavior which may cause soundness issues in crates using the `iced_x86::Decoder` struct. The `Decoder::new()` function made a call to `slice.get_unchecked(slice.length())` to get the end position of the input buffer. The flaw was fixed with safe logic that does not invoke undefined behavior. More details can be found at <https://github.com/icedland/iced/issues/168>.
References: https://crates.io/crates/iced-x86, https://rustsec.org/advisories/RUSTSEC-2021-0068.html, https://github.com/icedland/iced/issues/168
Affected packages
Package
Name: iced-x86
Purl: pkg:cargo/iced-x86
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -1.10.4-0
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
