CVE-2023-48945
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Nov 29, 2023
CISA due date
—
Cloudanix analysis
A bug in this database software lets attackers send bad commands that make the whole system crash, potentially stopping services that depend on it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A stack-based buffer overflow in the SQL statement parser of Virtuoso allows remote unauthenticated attackers to overwrite the call stack with crafted input, crashing the server process and causing denial of service.
Why it matters to the business
Prolonged or repeated database outages that interrupt dependent applications and services, with ongoing exposure risk given public exploit code available more than three years after disclosure and no listed fixed version.
How an attack unfolds
An attacker connects to an exposed Virtuoso SQL interface and submits a specially constructed query that triggers the stack overflow during parsing; the server process terminates, achieving denial of service. Publicly available exploit code lowers the barrier for repeated attacks.
How to fix it
Apply the latest Virtuoso build from the vendor once released; until then restrict SQL interface access to trusted sources, deploy network-level controls to limit query size or complexity, and monitor vendor channels for security updates.
How to confirm the fix worked
After any update, re-test normal SQL workloads for stability and attempt reproduction of the original crash condition with known malformed queries in an isolated environment; confirm absence of crash logs tied to SQL parsing.
Typical attack path
- Locate publicly reachable Virtuoso instances via network scanning
- Establish a SQL connection or submit queries over supported protocols
- Transmit a crafted SQL statement engineered to overflow the stack buffer
- Observe server crash and service unavailability
How to detect it
Inspect database and system logs for abrupt process terminations during SQL processing, unusual query patterns, or stack-related error messages; correlate with availability alerts showing sudden service loss.
What your security team should do
- Immediately restrict network exposure of Virtuoso ports to authorized clients only
- Implement query length and complexity limits via proxy or firewall rules
- Monitor vendor release notes and apply patches as soon as a fixed version becomes available
- Add crash and availability monitoring for Virtuoso processes
The record
A stack overflow in openlink virtuoso-opensource v7.2.11 allows attackers to cause a Denial of Service (DoS) via crafted SQL statements.
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