CVE-2022-21487
Low · 3.8CVSS
3.8
EPSS
0.4%
Published
Apr 19, 2022
CISA due date
—
Cloudanix analysis
Someone who can already log into the computer running VirtualBox could read some of its private information, potentially affecting other programs as well.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local low-privileged process on the host can read a subset of VirtualBox memory or configuration data with scope change allowing impact to additional products.
Why it matters to the business
Potential leakage of sensitive configuration or guest data from virtualized workloads without requiring elevated privileges on the host, increasing compliance and data-breach risk for organizations running multiple VMs.
How an attack unfolds
An attacker with a low-privileged account on the host system where VirtualBox runs crafts or executes code that triggers the Core component flaw, resulting in unauthorized read access to a limited set of VirtualBox-accessible data that may belong to other products due to the scope change.
How to fix it
Upgrade Oracle VM VirtualBox to version 6.1.34 or later on all affected hosts; apply the update through official Oracle channels and verify the installed version after restart of the VirtualBox service and VMs.
How to confirm the fix worked
Query the VirtualBox installation for the exact version string and confirm it is 6.1.34 or newer; re-test the affected Core component with a low-privileged local account to ensure read access to the previously exposed data subset is denied.
Typical attack path
- Obtain low-privileged interactive or scheduled-task access on the host running VirtualBox
- Execute or schedule code that interacts with the vulnerable VirtualBox Core component
- Trigger the information-disclosure condition to read a subset of protected data
- Exfiltrate the obtained data for further analysis or lateral movement
How to detect it
Review host authentication and process-creation logs for low-privileged sessions followed by execution of VirtualBox binaries; correlate with any unexpected file or memory reads originating from the VirtualBox process.
What your security team should do
- Prioritize upgrade of all VirtualBox hosts to 6.1.34 within standard change windows given the local attack vector
- Inventory all systems running VirtualBox prior to 6.1.34 and schedule staged rollouts
- Monitor host logs for unusual local processes interacting with VirtualBox executables until patching is complete
The record
Vulnerability in the Oracle VM VirtualBox product of Oracle Virtualization (component: Core). The supported version that is affected is Prior to 6.1.34. Easily exploitable vulnerability allows low privileged attacker with logon to the infrastructure where Oracle VM VirtualBox executes to compromise Oracle VM VirtualBox. While the vulnerability is in Oracle VM VirtualBox, attacks may significantly impact additional products (scope change). Successful attacks of this vulnerability can result in unauthorized read access to a subset of Oracle VM VirtualBox accessible data. CVSS 3.1 Base Score 3.8 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:8 | kmod-virtualbox | 0 | 6.1.34-1.2.mga8 |
| Mageia:8 | virtualbox | 0 | 6.1.34-1.2.mga8 |
| Ubuntu:16.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:18.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:20.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:20.04:LTS | vm | 0 | No fix |
| Ubuntu:22.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:22.04:LTS | vm | 0 | No fix |
| Ubuntu:24.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:24.04:LTS | vm | 0 | No fix |
| Ubuntu:24.10 | virtualbox | 0 | No fix |
| Ubuntu:24.10 | vm | 0 | No fix |
| Ubuntu:25.04 | virtualbox | 0 | No fix |
| Ubuntu:25.10 | virtualbox | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | vm | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | vm | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | virtualbox | 0 | No fix |
| openSUSE:Leap 15.4 | virtualbox | 0 | 6.1.36-lp154.2.7.1 |
| openSUSE:Leap 15.4 | virtualbox-kmp | 0 | 6.1.36-lp154.2.7.1 |
Related vulnerabilities
- CVE-2022-2602 io_uring UAF, Unix SCM garbage collection Also affects kmod-virtualbox
- CVE-2022-2586 It was discovered that a nft object or expression could reference a nft set on a… Also affects kmod-virtualbox
- CVE-2022-2588 It was discovered that the cls_route filter implementation in the Linux kernel would not… Also affects kmod-virtualbox
- CVE-2022-2585 It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers… Also affects kmod-virtualbox
- CVE-2022-22942 The vmwgfx driver contains a local privilege escalation vulnerability that allows… Also affects kmod-virtualbox
- CVE-2023-34319 The fix for XSA-423 added logic to Linux'es netback driver to deal with a frontend… Also affects kmod-virtualbox
- CVE-2023-4147 A use-after-free flaw was found in the Linux kernel’s Netfilter functionality when adding… Also affects kmod-virtualbox
- CVE-2023-4004 A use-after-free flaw was found in the Linux kernel's netfilter in the way a user… Also affects kmod-virtualbox