CVE-2022-21621
Medium · 6.0CVSS
6.0
EPSS
0.3%
Published
Oct 18, 2022
CISA due date
—
Cloudanix analysis
A flaw in virtualization software lets someone with special host access crash the program and stop all virtual systems from running.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Allows a high-privileged local attacker to trigger a complete denial of service (hang or repeatable crash) against the VirtualBox process, with scope change that can affect additional products on the host.
Why it matters to the business
Disrupts virtualized workloads and any dependent services, causing unplanned downtime and operational impact across multiple systems until the hypervisor is restarted.
How an attack unfolds
An attacker with administrative logon to the host where VirtualBox runs exploits the core component to force the process into a hung or crashed state, resulting in loss of availability for all running virtual machines and potential side effects on other host components.
How to fix it
Upgrade Oracle VM VirtualBox to version 6.1.40 or later on all affected hosts.
How to confirm the fix worked
Confirm the installed VirtualBox version is 6.1.40 or newer via the product interface or command-line query; retest that the denial-of-service condition no longer occurs under the documented attack scenario.
Typical attack path
- Obtain high-privileged local access to the host infrastructure running VirtualBox
- Trigger the vulnerable code path in the Core component
- Cause repeated hang or crash of the VirtualBox process
How to detect it
Review host system logs and VirtualBox process crash dumps for repeated unexpected terminations or hangs; correlate with privileged login events on the same hosts.
What your security team should do
- Apply the fixed version 6.1.40 immediately on all hosts
- Limit administrative logons to VirtualBox hosts to the minimum necessary accounts
- Monitor for availability alerts on VirtualBox processes
The record
Vulnerability in the Oracle VM VirtualBox product of Oracle Virtualization (component: Core). Supported versions that are affected are Prior to 6.1.40. Easily exploitable vulnerability allows high 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 ability to cause a hang or frequently repeatable crash (complete DOS) of Oracle VM VirtualBox. CVSS 3.1 Base Score 6.0 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:8 | kmod-virtualbox | 0 | 6.1.40-1.mga8 |
| Mageia:8 | virtualbox | 0 | 6.1.40-1.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:22.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | virtualbox | 0 | No fix |
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