🛡️ CVE-2023-41051 on Ubuntu — rust-vm-memory
Description
In a typical Virtual Machine Monitor (VMM) there are several components, such as boot loader, virtual device drivers, virtio backend drivers and vhost drivers, that need to access the VM physical memory. The vm-memory rust crate provides a set of traits to decouple VM memory consumers from VM memory providers. An issue was discovered in the default implementations of the VolatileMemory::{get_atomic_ref, aligned_as_ref, aligned_as_mut, get_ref, get_array_ref} trait functions, which allows out-of-bounds memory access if the VolatileMemory::get_slice function returns a VolatileSlice whose length is less than the function’s count argument. No implementations of get_slice provided in vm_memory are affected. Users of custom VolatileMemory implementations may be impacted if the custom implementation does not adhere to get_slice's documentation. The issue started in version 0.1.0 but was fixed in version 0.12.2 by inserting a check that verifies that the VolatileSlice returned by get_slice is of the correct length. Users are advised to upgrade. There are no known workarounds for this issue.
Distribution advisory
This page covers CVE-2023-41051 as tracked by Ubuntu, for the package rust-vm-memory. No fixed version has been recorded for this distribution yet.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
UBUNTU-CVE-2023-41051 is recorded against 1 package.
- rust-vm-memory
Timeline and source
Published on 1 September 2023 and last revised on 13 February 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
github.com (Report)
github.com (Report)
rustsec.org (Report)
github.com (Report)
crates.io (Report)
www.cve.org (Report)
CVE-2023-41051 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| rust-vm-memory | — | — |
References
Similar Threats
- Unknown DEBIAN-CVE-2023-41051
More UBUNTU CVE 2023 advisories
Browse all of UBUNTU CVE 2023 in the advisory index.
- UBUNTU-CVE-2023-40857
- UBUNTU-CVE-2023-40889
- UBUNTU-CVE-2023-40890
- UBUNTU-CVE-2023-40968
- UBUNTU-CVE-2023-41000
- UBUNTU-CVE-2023-41038
- UBUNTU-CVE-2023-41039
- UBUNTU-CVE-2023-41040
- UBUNTU-CVE-2023-41053
- UBUNTU-CVE-2023-41056
- UBUNTU-CVE-2023-41074
- UBUNTU-CVE-2023-41080
- UBUNTU-CVE-2023-41081
- UBUNTU-CVE-2023-41101
- UBUNTU-CVE-2023-41102
- UBUNTU-CVE-2023-41105
Free Vulnerability Check
Is your site affected by UBUNTU-CVE-2023-41051?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against UBUNTU-CVE-2023-41051 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.