CVE-2023-48950
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Nov 29, 2023
CISA due date
—
Cloudanix analysis
A bug in this database software lets anyone on the network send one bad query that can shut the service down until it is restarted.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A flaw in the box_col_len function allows a remote unauthenticated attacker to submit a crafted SELECT statement that triggers a crash or resource exhaustion in the database server.
Why it matters to the business
Successful exploitation can render the database service unavailable, interrupting dependent applications and causing operational downtime until the process is restarted.
How an attack unfolds
An attacker with network access to a Virtuoso instance sends a specially crafted SELECT query that reaches the vulnerable box_col_len function, causing the server to terminate or hang. Public exploit code is available, though no named threat actors or ransomware campaigns have been observed leveraging it.
How to fix it
Upgrade to a patched release of Virtuoso once a fixed version becomes available; in the interim, restrict direct network access to the database ports, deploy network-level query filtering where possible, and monitor vendor announcements for security updates.
How to confirm the fix worked
Confirm exposure by testing connectivity to the Virtuoso SQL port and attempting a benign SELECT that exercises column-length handling; after any upgrade, re-execute the same query to verify the server no longer crashes.
Typical attack path
- Discover publicly reachable Virtuoso instances via network scanning or service fingerprinting.
- Craft a malicious SELECT statement targeting the box_col_len code path.
- Transmit the query over the SQL interface or web endpoint to trigger the crash.
- Repeat as needed to maintain denial of service.
How to detect it
Review database server logs for abrupt process terminations or stack traces referencing box_col_len immediately after SQL statement execution; correlate with network logs showing unexpected SELECT queries from untrusted sources.
What your security team should do
- Prioritize network segmentation to limit exposure of Virtuoso instances.
- Subscribe to Virtuoso release notifications and apply updates promptly once published.
- Implement connection-rate limiting and query allow-listing at the network edge.
- Add the affected version string to asset inventories for rapid identification.
The record
An issue in the box_col_len function in 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