{"answers":{"affected":"3 open source packages ship an affected version, including vmm-sys-util. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-50711 in the wild and no public exploit code.","fix":"Upgrade vmm-sys-util to 0.12.0 or later.","what":"CVE-2023-50711 is a medium-severity unsafe deserialization vulnerability in rust-vmm vmm-sys-util, published on 2 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-50711 and fix it if it is affected.\n\nWhat it is: CVE-2023-50711 is a medium-severity unsafe deserialization vulnerability in rust-vmm vmm-sys-util, published on 2 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-50711 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- vmm-sys-util (crates.io): affected from 0.5.0; fixed in 0.12.0\n- vmm-sys-util (crates.io): affected from 0.5.0; fixed in 0.12.0\n- vmm-sys-util (crates.io): affected from 0.5.0; fixed in 0.12.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-50711/ (Markdown: https://insights.sbomify.com/CVE-2023-50711/index.md)","id":"CVE-2023-50711","markdown":"https://insights.sbomify.com/CVE-2023-50711/index.md","name":"CVE-2023-50711","record":{"aliases":["AZL-32311","DEBIAN-CVE-2023-50711","GHSA-875g-mfp6-g7f9","RUSTSEC-2024-0002","SUSE-SU-2024:0250-1","SUSE-SU-2024:1966-1","SUSE-SU-2024:1984-1","SUSE-SU-2025:20071-1","UBUNTU-CVE-2023-50711","openSUSE-SU-2024:13624-1","openSUSE-SU-2024:13645-1","openSUSE-SU-2024:13857-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust VMM utility library","requires_auth":"none","summary":"Deserialization of FamStructWrapper lacks bound checks, allowing out-of-bounds memory access and potential code execution in Rust VMM components.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vmm-sys-util","vendor":"rust-vmm"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds 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.","ecosystems":["SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Module for Server Applications 15 SP5","SUSE:Linux Micro 6.0","crates.io","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"`serde` deserialization for `FamStructWrapper` lacks bound checks that could potentially lead to out-of-bounds memory access","id":"CVE-2023-50711","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"deserialization","year":"2023"},"n_packages":13,"n_references":4,"next":{"headline":"Improper Neutralization of Alternate XSS Syntax in iris-web","id":"CVE-2023-50712"},"packages":[{"ecosystem":"crates.io","fixed":["0.12.0"],"introduced":["0.5.0"],"last_affected":[],"package":"vmm-sys-util","purl":null,"source":"GHSA-875g-mfp6-g7f9"},{"ecosystem":"crates.io","fixed":["0.12.0"],"introduced":["0.5.0"],"last_affected":[],"package":"vmm-sys-util","purl":"pkg:cargo/vmm-sys-util","source":"GHSA-875g-mfp6-g7f9"},{"ecosystem":"crates.io","fixed":["0.12.0"],"introduced":["0.5.0"],"last_affected":[],"package":"vmm-sys-util","purl":"pkg:cargo/vmm-sys-util","source":"RUSTSEC-2024-0002"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["1.3.0~git1.db34c02-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2024:1984-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["1.3.0~git1.db34c02-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-SU-2024:1984-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["1.3.0~git1.db34c02-150600.10.3.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/suse/aws-nitro-enclaves-cli\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP6","source":"SUSE-SU-2024:1966-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP5","fixed":["0.4.3-150500.3.3.1"],"introduced":["0"],"last_affected":[],"package":"sevctl","purl":"pkg:rpm/suse/sevctl\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5","source":"SUSE-SU-2024:0250-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["0.4.3-2.1"],"introduced":["0"],"last_affected":[],"package":"sevctl","purl":"pkg:rpm/suse/sevctl\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:20071-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["1.3.0~git1.db34c02-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/opensuse/aws-nitro-enclaves-cli\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1984-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["0.4.3-150500.3.3.1"],"introduced":["0"],"last_affected":[],"package":"sevctl","purl":"pkg:rpm/opensuse/sevctl\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:0250-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.3.0~git1.db34c02-150600.10.3.1"],"introduced":["0"],"last_affected":[],"package":"aws-nitro-enclaves-cli","purl":"pkg:rpm/opensuse/aws-nitro-enclaves-cli\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:1966-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.4.3-2.1"],"introduced":["0"],"last_affected":[],"package":"sevctl","purl":"pkg:rpm/opensuse/sevctl\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13624-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.10.1-1.1"],"introduced":["0"],"last_affected":[],"package":"virtiofsd","purl":"pkg:rpm/opensuse/virtiofsd\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13645-1"}],"prev":{"headline":"Hono's named path parameters can be overridden in TrieRouter","id":"CVE-2023-50710"},"products":["vmm-sys-util"],"published":"2024-01-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["rust-vmm"]},"summary":"Deserialization of FamStructWrapper lacks bound checks, allowing out-of-bounds memory access and potential code execution in Rust VMM components.","url":"https://insights.sbomify.com/CVE-2023-50711/"}