PT-2021-21995 · Iced-X86 · Iced-X86

Published

2021-05-19

·

Updated

2021-08-25

·

CVE-2021-38188

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: iced-x86 versions 1.10.3 and earlier
Description: An issue was discovered in the iced-x86 crate where the Decoder::new() function uses slice.get unchecked(slice.length()) unsafely, potentially invoking undefined behavior. This may cause soundness issues in crates using the iced x86::Decoder struct.
Recommendations: For versions 1.10.3 and earlier, update to a version that includes the fix for the unsafe use of slice.get unchecked(slice.length()) in the Decoder::new() function. As a temporary workaround, consider avoiding the use of the iced x86::Decoder struct until a patched version is available.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-38188
GHSA-JJX5-3F36-6927
RUSTSEC-2021-0068

Affected Products

Iced-X86