CVE-2024-57650
NoneCVSS
—
EPSS
1.0%
Published
Jan 14, 2025
CISA due date
—
Cloudanix analysis
A database product can be made to stop working when someone sends it certain specially written commands, leading to brief service interruptions.
- 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 qi_inst_state_free component allows crafted SQL statements to trigger improper memory handling, resulting in a server crash and denial of service.
Why it matters to the business
Unplanned database outages can interrupt applications that rely on the server, causing temporary loss of data access and operational disruption.
How an attack unfolds
An attacker with network access to a Virtuoso instance submits specially crafted SQL statements that reach the vulnerable qi_inst_state_free path, causing the process to terminate.
How to fix it
Upgrade to a corrected release of Virtuoso Open Source once a fix is published by the project maintainers; in the interim restrict unauthenticated or untrusted SQL access.
How to confirm the fix worked
Confirm the installed version, apply any available patches, and retest with both normal and previously problematic query patterns to verify stability.
Typical attack path
- Establish a connection to the exposed Virtuoso database
- Submit crafted SQL statements targeting the qi_inst_state_free component
- Trigger process crash and service denial
How to detect it
Review database server logs for unexpected process terminations or memory errors occurring after SQL statement execution; correlate with connection records from untrusted sources.
What your security team should do
- Track official Virtuoso releases for security fixes
- Limit direct database exposure to trusted clients only
- Enable query logging and resource monitoring to detect anomalous activity
The record
An issue in the qi_inst_state_free component of 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: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