Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. vmm-sys-util
  4. ›
  5. CVE-2023-50711

CVE-2023-50711: `serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access

January 2, 2024 (updated February 10, 2024)

An issue was discovered in the FamStructWrapper::deserialize implementation provided by the crate for vmm_sys_util::fam::FamStructWrapper, which 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.

Impacted versions: >= 0.5.0

References

  • github.com/advisories/GHSA-875g-mfp6-g7f9
  • github.com/rust-vmm/vmm-sys-util
  • github.com/rust-vmm/vmm-sys-util/commit/30172fca2a8e0a38667d934ee56682247e13f167
  • github.com/rust-vmm/vmm-sys-util/security/advisories/GHSA-875g-mfp6-g7f9
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5XMCLV2P3ANS3XN4NXZTV4PUNTLWUNJ
  • nvd.nist.gov/vuln/detail/CVE-2023-50711
  • rustsec.org/advisories/RUSTSEC-2024-0002.html

Code Behaviors & Features

Detect and mitigate CVE-2023-50711 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.5.0 before 0.12.0

Fixed versions

  • 0.12.0

Solution

Upgrade to version 0.12.0 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-787: Out-of-bounds Write

Source file

cargo/vmm-sys-util/CVE-2023-50711.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:04 +0000.