CVE-2023-48946
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Nov 29, 2023
CISA due date
—
Cloudanix analysis
A flaw in the Virtuoso database lets anyone who can run a query crash the service, making the database temporarily unavailable.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The box_mpy function in Virtuoso 7.2.11 contains an unhandled condition that allows a remote SELECT statement to trigger a crash or resource exhaustion, resulting in denial of service.
Why it matters to the business
Public or internal database services become unavailable, interrupting dependent applications and analytics workloads until the process is restarted.
How an attack unfolds
An unauthenticated attacker connects to a Virtuoso instance over the network and issues a specially crafted SELECT query that reaches the vulnerable box_mpy code path, causing the server to terminate or hang.
How to fix it
Upgrade to the latest available Virtuoso build once a fix is released; in the interim restrict network access to the SQL port, disable unnecessary query interfaces, and monitor for abnormal query patterns.
How to confirm the fix worked
Confirm the running version is 7.2.11 or earlier, attempt the known triggering SELECT in a test environment, and verify that the server no longer crashes after applying any available patch.
Typical attack path
- Locate publicly reachable Virtuoso instances via network scanning or known endpoints
- Establish a connection and authenticate if required
- Submit a crafted SELECT statement designed to exercise the box_mpy flaw
- Observe server crash or sustained resource consumption confirming denial of service
How to detect it
Review Virtuoso server logs for repeated crashes or out-of-memory events immediately following SELECT statements, and correlate with network connections to the SQL listener port.
- box_mpy
- Virtuoso server process termination after SELECT
- sudden high CPU or memory usage on virtuoso-t process
What your security team should do
- Block or rate-limit unauthenticated access to Virtuoso SQL ports from untrusted networks
- Deploy web application or database firewalls capable of inspecting and blocking suspicious SELECT patterns
- Schedule immediate upgrade once a patched release is published
- Add Virtuoso process monitoring and automatic restart procedures to limit downtime
The record
An issue in the box_mpy function of openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) after running a SELECT statement.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | virtuoso-opensource | 0 | No fix |
| Debian:12 | virtuoso-opensource | 0 | No fix |
| Debian:13 | virtuoso-opensource | 0 | 7.2.12+dfsg-0.2 |
| Ubuntu:22.04:LTS | virtuoso-opensource | 0 | No fix |
| Ubuntu:24.04:LTS | virtuoso-opensource | 0 | No fix |
| Ubuntu:24.10 | virtuoso-opensource | 0 | No fix |
| Ubuntu:25.04 | virtuoso-opensource | 0 | No fix |
| Ubuntu:25.10 | virtuoso-opensource | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | virtuoso-opensource | 0 | 6.1.6+repack-0ubuntu5+esm2 |
| Ubuntu:Pro:18.04:LTS | virtuoso-opensource | 0 | 6.1.6+repack-0ubuntu9+esm2 |
| Ubuntu:Pro:20.04:LTS | virtuoso-opensource | 0 | 6.1.6+repack-0ubuntu10+esm2 |
| Ubuntu:Pro:22.04:LTS | virtuoso-opensource | 0 | 7.2.5.1+dfsg1-0.2ubuntu0.1~esm2 |
| Ubuntu:Pro:24.04:LTS | virtuoso-opensource | 0 | 7.2.5.1+dfsg1-0.8ubuntu0.1~esm2 |
Related vulnerabilities
- CVE-2024-57662 An issue in the sqlg_hash_source component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource
- CVE-2024-57663 An issue in the sqlg_place_dpipes component of openlink virtuoso-opensource v7.2.11… Also affects virtuoso-opensource
- CVE-2024-57664 An issue in the sqlg_group_node component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource
- CVE-2024-57653 An issue in the qst_vec_set_copy component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource
- CVE-2024-57655 An issue in the dfe_n_in_order component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource
- CVE-2024-57661 An issue in the sqlo_df component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource
- CVE-2024-57657 An issue in the sqlg_vec_upd component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource
- CVE-2024-57658 An issue in the sql_tree_hash_1 component of openlink virtuoso-opensource v7.2.11 allows… Also affects virtuoso-opensource