CVE-2021-38188 Incorrect buffer size calculation in iced-x86
CriticalCVSS 9.8
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io iced-x86(crates.io) | < 1.11.0; >= 0.0.0-0, < 1.10.4-0 | 1.10.4-0, 1.11.0 | Fixed |
| iced-x86 project iced-x86 | <= 1.10.3 | after 1.10.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io iced-x86(crates.io) | < 1.11.0 | 1.11.0 |
| crates.io iced-x86(crates.io) | >= 0.0.0-0, < 1.10.4-0 | 1.10.4-0 |
| iced-x86 project iced-x86 | <= 1.10.3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com patch
- rustsec.org exploit issue-tracking patch third-party-advisory vendor-advisory
- github.com
- github.com product
- crates.io product
- raw.githubusercontent.com third-party-advisory