SecurityContext

CVE-2023-50711: vmm-sys-util - Out of Bounds Read/Write

  • Cve: CVE-2023-50711
  • Name: vmm-sys-util - Out of Bounds Read/Write
  • Description: 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.
  • Impact: Attackers can cause out of bounds memory access, potentially leading to memory corruption or crashes.
  • Remediation: Update to version 0.12.0 or later, which includes length checks to prevent out of bounds access.
  • Vulnerability type: out_of_bounds_rw
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00652
  • Epss percentile: 0.51967
  • Assignee: [email protected]
  • Published at: 2024-01-02T20:15:10Z
  • Age in days: 1057
  • Modified at: 2026-06-17T06:39:49Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-50711
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/rust-vmm/vmm-sys-util/commit/30172fca2a8e0a38667d934ee56682247e13f167Patch
https://github.com/rust-vmm/vmm-sys-util/security/advisories/GHSA-875g-mfp6-g7f9Vendor Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ/
https://lists.fedoraproject.org/archives/list/[email protected]/message/YJI7D273R6G5RUC246KTI2YY3AXZKZMD/

Products

ProductAffectedPlatform boundSourcesUrl
rust-vmm:vmm-sys-util>= 0.5.0, < 0.12.0nonvd/v1/products/rust-vmm/vmm-sys-util

Projects

RepositoryLink kindsIndexedUrl
rust-vmm/vmm-sys-utilcommit, fix, package, security_advisoryyes/v1/repositories/rust-vmm/vmm-sys-util

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts