CVE-2024-57656
NoneCVSS
—
EPSS
0.8%
Published
Jan 14, 2025
CISA due date
—
Cloudanix analysis
A flaw in a database product lets attackers send specially made database commands that shut the service down, interrupting any applications that depend on it.
- 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
Crafted SQL statements trigger a crash or resource exhaustion inside the sqlc_add_distinct_node component, causing the database server process to terminate or become unresponsive.
Why it matters to the business
Database-backed applications become unavailable until the server is restarted, resulting in operational downtime and potential loss of service for any systems relying on the affected database engine.
How an attack unfolds
An attacker with the ability to submit SQL queries connects to the database and issues a specially constructed statement that reaches the vulnerable distinct-node handling code, leading to immediate denial of service without requiring authentication bypass or privilege escalation.
How to fix it
Upgrade the virtuoso-opensource package to a version that resolves the sqlc_add_distinct_node defect; where a fixed package is unavailable, restrict direct SQL submission from untrusted sources and apply network-level query filtering until patches can be applied.
How to confirm the fix worked
Confirm the installed package version is newer than 7.2.11, then re-execute representative queries that previously triggered the defect to verify the server remains stable.
Typical attack path
- Identify an exposed database instance running the vulnerable version
- Establish a SQL connection using any available account
- Submit a crafted SELECT statement containing the malicious distinct-node pattern
- Observe server process termination or hang, confirming denial of service
How to detect it
Monitor database error logs and process termination events for abrupt exits immediately after SQL statement execution; correlate with connection logs showing new sessions followed by server restarts.
What your security team should do
- Prioritize patching or isolating any internet-facing virtuoso instances within the next maintenance window
- Review database access controls to ensure only trusted clients can submit arbitrary SQL
- Add the component to vulnerability scanning policies so future similar defects are caught early
The record
An issue in the sqlc_add_distinct_node 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