Out-of-bounds Write Affecting vmm-sys-util package, versions >=0.5.0 <0.12.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-VMMSYSUTIL-6143146
  • published3 Jan 2024
  • disclosed2 Jan 2024
  • creditBabis Chalios

Introduced: 2 Jan 2024

CVE-2023-50711  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade vmm-sys-util to version 0.12.0 or higher.

Overview

vmm-sys-util is a collection of modules that provides helpers and utilities used by multiple rust-vmm components.

Affected versions of this package are vulnerable to Out-of-bounds Write due to a mismatch in the lengths of compared flexible arrays during the deserialization process. An attacker can cause out of bounds memory access through Rust-safe methods by providing a crafted input that has a header length not matching the flexible array length.

CVSS Scores

version 3.1