p PatchFirst

CVE-2023-50711

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

CVSS 5.7 · Medium · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rust-vmm-sys-util"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • vmm-sys-util

    Versions
    • >= 0.5.0, < 0.12.0: Affected

    No fix published

  • rust-vmm-sys-util Debian 13

    Affected ranges
    • ECOSYSTEM: < 0.12.1-1

    Update to 0.12.1-1

  • rust-vmm-sys-util Debian 14

    Affected ranges
    • ECOSYSTEM: < 0.12.1-1

    Update to 0.12.1-1

  • rust-vmm-sys-util Ubuntu 24.04 LTS

    Versions
    • 0.11.1-5
    • 0.12.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-vmm-sys-util Ubuntu 25.10

    Versions
    • 0.12.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-vmm-sys-util Ubuntu 26.10

    Versions
    • 0.15.0-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-vmm-sys-util Ubuntu 26.04 LTS

    Versions
    • 0.12.1-2
    • 0.15.0-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →