Out-of-bounds write in rust-vmm vmm-sys-util
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.
Summary
vmm-sys-util is a collection of modules that provides helpers and utilities used by multiple rust-vmm components. Starting in version 0.5.0 and prior to version 0.12.0, an issue in the `FamStructWrapper::deserialize` implementation provided by the crate for `vmm_sys_util::fam::FamStructWrapper` can lead to out of bounds memory accesses. The deserialization does not check that the length stored in the header matches the flexible array length. Mismatch in the lengths might allow out of bounds memory access through Rust-safe methods. The issue was corrected in version 0.12.0 by inserting a check that verifies the lengths of compared flexible arrays are equal for any deserialized header and aborting deserialization otherwise. Moreover, the API was changed so that header length can only be modified through Rust-unsafe code. This ensures that users cannot trigger out-of-bounds memory access from Rust-safe code.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rust-vmm | vmm-sys-util | 0.5.0 to before 0.12.0 | 0.12.0 | Patch available | CNA |
| — | vmm-sys-util (crates.io) | 0.5.0 to before 0.12.0 | 0.12.0 | Patch available | GHSA-875g-mfp6-g7f9 |
- vmm-sys-util Vendorrust-vmm Affected 0.5.0 to before 0.12.0 Fixed in 0.12.0 Patch available CNA
- vmm-sys-util (crates.io) Vendor— Affected 0.5.0 to before 0.12.0 Fixed in 0.12.0 Patch available GHSA-875g-mfp6-g7f9
Remediation
- Fix · CNA vmm-sys-util (rust-vmm) Fixed in 0.12.0
- Fix · GHSA-875g-mfp6-g7f9 vmm-sys-util (crates.io) Fixed in 0.12.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-50711
- 2026-10-03 Alias added: GHSA-875g-mfp6-g7f9
- 2026-10-14 EPSS moved to the 50th–90th percentile
References
Advisory 2
Other 5
- https://lists.fedoraproject.org/archives/list/[email protected]/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YJI7D273R6G5RUC246KTI2YY3AXZKZMD/
- https://github.com/rust-vmm/vmm-sys-util
- https://lists.fedoraproject.org/archives/list/[email protected]/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ
- https://rustsec.org/advisories/RUSTSEC-2024-0002.html
Sources
- CVE-2023-50711 · CVE Program
- CVE-2023-50711 · NVD
- FIRST EPSS
- GHSA-875g-mfp6-g7f9 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-50711 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences