VDB
Sign up
—

RUSTSEC-2021-0068

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>.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/iced-x86
Introduced in: 0.0.0-0Fixed in: 1.10.4-0

Upgrade iced-x86 to 1.10.4-0 or newer (ecosystem crates.io).

References