{"id":"GHSA-jjx5-3f36-6927","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.","aliases":["CVE-2021-38188","RUSTSEC-2021-0068"],"modified":"2023-11-08T04:06:25.737471Z","published":"2021-08-25T20:55:47Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-18T21:31:51Z","nvd_published_at":"2021-08-08T06:15:00Z","cwe_ids":["CWE-131"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38188"},{"type":"WEB","url":"https://github.com/icedland/iced/issues/168"},{"type":"WEB","url":"https://github.com/icedland/iced/commit/3c607a003e03b773108401d109167d1840487dce"},{"type":"PACKAGE","url":"https://github.com/icedland/iced"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0068.html"}],"affected":[{"package":{"name":"iced-x86","ecosystem":"crates.io","purl":"pkg:cargo/iced-x86"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jjx5-3f36-6927/GHSA-jjx5-3f36-6927.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}