Advisory

GHSA-jjx5-3f36-6927

Also known as: CVE-2021-38188, RUSTSEC-2021-0068

Summary

Incorrect buffer size calculation in iced-x86

Details

An issue was discovered in the iced-x86 crate through 1.10.3 for Rust. In Decoder::new(), slice.get_unchecked(slice.length()) is used unsafely.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:55 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

iced-x86

crates.io · All systems

Affected

  • introduced 0, fixed 1.11.0 (semver)

Fixed versions

1.11.0

Fix

  • Fixed version 1.11.0
    cargo update -p iced-x86 --precise 1.11.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences