CVE-2023-48952
High · 7.5CVSS
7.5
EPSS
1.0%
Published
Nov 29, 2023
CISA due date
—
Cloudanix analysis
A bug in the database software lets anyone on the network send one query that can make the whole service stop working until it is restarted.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Deserialization
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The box_deserialize_reusing function in the deserialization path mishandles attacker-supplied data from a SELECT statement, triggering unbounded resource consumption or crash and resulting in denial of service.
Why it matters to the business
Database services become unavailable, interrupting query workloads and dependent applications until the process is restarted.
How an attack unfolds
An unauthenticated remote attacker crafts and submits a malicious SELECT statement that reaches the vulnerable deserialization routine; the malformed input causes the server to exhaust resources or abort, producing a denial-of-service condition. Public exploit code exists and the flaw has been known for over two years.
How to fix it
Upgrade to a patched release of Virtuoso once available; in the interim restrict network exposure of the SQL endpoint, apply query allow-listing, and monitor for anomalous SELECT traffic that exercises deserialization paths.
How to confirm the fix worked
Attempt to reproduce the reported SELECT statement against a test instance and confirm the server remains stable; review process logs and resource metrics for absence of crashes after the change.
Typical attack path
- Identify an exposed Virtuoso instance accepting SQL queries
- Send a crafted SELECT statement that triggers box_deserialize_reusing
- Observe server crash or sustained high CPU/memory usage confirming DoS
How to detect it
Review database query logs and system crash dumps for SELECT statements immediately preceding process termination or resource exhaustion events; correlate with network connection records to the SQL listener.
What your security team should do
- Block unauthenticated network access to Virtuoso SQL ports until a fixed version is deployed
- Implement query logging and anomaly detection for SELECT statements
- Schedule upgrade as soon as a patched package is published
- Test failover and restart procedures to reduce recovery time from DoS events
The record
An issue in the box_deserialize_reusing 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:20.04:LTS | virtuoso-opensource | 0 | No fix |
| 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 | No fix |
| Ubuntu:Pro:18.04:LTS | virtuoso-opensource | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | virtuoso-opensource | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | virtuoso-opensource | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | virtuoso-opensource | 0 | No fix |
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