CVE-2021-38188
Incorrect buffer size calculation in iced-x86
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA.
Description
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| cargo::GitHub Security Advisory Rust | iced-x86 | 1.11.0 |
Références
- https://github.com/icedland/iced
- https://github.com/icedland/iced/commit/3c607a003e03b773108401d109167d1840487dce
- https://github.com/icedland/iced/issues/168
- https://nvd.nist.gov/vuln/detail/CVE-2021-38188
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/iced-x86/RUSTSEC-2021-0068.md
- https://rustsec.org/advisories/RUSTSEC-2021-0068.html