CVE-2023-21886
High · 8.1CVSS
8.1
EPSS
1.2%
Published
Jan 18, 2023
CISA due date
—
Cloudanix analysis
A flaw in virtualization software can allow remote attackers without credentials to take full control of the program, risking disruption or data exposure in virtual environments.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Full Compromise
- Component
- Application
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability in the core component permits an unauthenticated network attacker to achieve remote code execution, resulting in full takeover of the VirtualBox process.
Why it matters to the business
Successful exploitation can lead to complete compromise of virtualized environments, disrupting operations and exposing data across host and guest systems; low EPSS and lack of known exploitation reduce urgency but do not eliminate the need for patching on exposed deployments.
How an attack unfolds
An attacker with network access sends specially crafted traffic via multiple protocols to trigger the flaw in the core component under high attack complexity conditions, achieving code execution and full application takeover.
How to fix it
Upgrade Oracle VM VirtualBox to version 6.1.42 or later and 7.0.6 or later; apply the referenced commit updates where applicable to address the core component issue.
How to confirm the fix worked
Confirm installed versions meet or exceed the fixed releases, review network exposure of management interfaces, and validate that the vulnerability is no longer present through version checks and restricted access testing.
Typical attack path
- Scan for exposed VirtualBox instances accepting connections on supported protocols
- Craft and transmit malicious payloads to exploit the core component flaw
- Achieve remote code execution leading to takeover of the VirtualBox process
How to detect it
Review network traffic logs for anomalous connections to VirtualBox services, inspect system and application logs for unexpected core component activity or crashes, and search for indicators of unauthorized process execution.
What your security team should do
- Apply the specified version upgrades immediately on all affected installations
- Restrict network access to VirtualBox instances using firewalls or access controls
- Monitor for post-patch anomalies in process behavior and logs
The record
Vulnerability in the Oracle VM VirtualBox product of Oracle Virtualization (component: Core). Supported versions that are affected are Prior to 6.1.42 and prior to 7.0.6. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle VM VirtualBox. Successful attacks of this vulnerability can result in takeover of Oracle VM VirtualBox. CVSS 3.1 Base Score 8.1 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:8 | kmod-virtualbox | 0 | 7.0.6-1.mga8 |
| Mageia:8 | virtualbox | 0 | 7.0.6-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:24.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:24.10 | virtualbox | 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:18.04:LTS | virtualbox | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | virtualbox | 0 | No fix |
| openSUSE:Leap 15.4 | virtualbox | 0 | 7.0.6-lp154.2.26.2 |
| openSUSE:Leap 15.4 | virtualbox-kmp | 0 | 7.0.6-lp154.2.26.2 |
| openSUSE:Tumbleweed | virtualbox | 0 | 7.0.6-1.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