CVE-2023-48947
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Nov 29, 2023
CISA due date
—
Cloudanix analysis
A database product can be taken offline by anyone who sends it a specially crafted request, potentially disrupting any applications that rely on it.
- 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 flaw in the cha_cmp 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
Database services become unavailable, causing application downtime, interrupted queries, and potential loss of access to data-dependent operations until the server is restarted.
How an attack unfolds
An attacker connects to an exposed Virtuoso instance and issues a malicious SELECT statement that reaches the vulnerable cha_cmp function, resulting in denial of service; public exploit code is available but no named threat actors have been observed using it.
How to fix it
Upgrade to the latest available Virtuoso build once a fix is released; in the interim restrict network access to the database port, disable unnecessary query interfaces, and apply query allow-listing or input validation at the application layer.
How to confirm the fix worked
Confirm the running version is newer than 7.2.11, re-test the instance with known-triggering SELECT statements in a non-production environment, and monitor for absence of crashes under load.
Typical attack path
- Identify an internet-facing or internally reachable Virtuoso instance
- Establish a connection without authentication
- Submit a crafted SELECT statement targeting the cha_cmp function
- Observe server crash or unresponsiveness confirming the denial of service
How to detect it
Review database error logs and process crash dumps for entries referencing the cha_cmp function or abrupt termination following SELECT operations; correlate with network logs showing unexpected query traffic from untrusted sources.
What your security team should do
- Immediately restrict network exposure of Virtuoso instances
- Monitor vendor announcements for an official patched release
- Implement network-level controls to limit query submission sources
- Add alerting on unexpected database process restarts
The record
An issue in the cha_cmp 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