CVE-2023-41051
Last modified
CVE-2023-41051 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vm-Memory Project | Vm-Memory | >= 0.1.0, < 0.12.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-41051?
How severe is CVE-2023-41051?
How do I fix CVE-2023-41051?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-41046XWiki Platform is a generic wiki platform offering runtime s…6.3
- CVE-2023-41047OctoPrint is a web interface for 3D printers. OctoPrint vers…6.5
- CVE-2023-41048plone.namedfile allows users to handle `File` and `Image` fi…5.4
- CVE-2023-41049@dcl/single-sign-on-client is an open source npm library whi…6.1
- CVE-2023-4105Mattermost fails to delete the attachments when deleting a m…4.3
- CVE-2023-41050AccessControl provides a general security framework for use …7.7
- CVE-2023-41052Vyper is a Pythonic Smart Contract Language. In affected ver…5.3
- CVE-2023-41053Redis is an in-memory database that persists on disk. Redis …3.3
- CVE-2023-41054LibreY is a fork of LibreX, a framework-less and javascript-…9.1
- CVE-2023-41055LibreY is a fork of LibreX, a framework-less and javascript-…7.5
- CVE-2023-41056Redis is an in-memory database that persists on disk. Redis …8.1
- CVE-2023-41057hyper-bump-it is a command line tool for updating the versio…5.5
Are you affected by CVE-2023-41051?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
