CVE-2024-57658
NoneCVSS
—
EPSS
0.8%
Published
Jan 14, 2025
CISA due date
—
Cloudanix analysis
A flaw lets attackers send specially made database commands that can knock the service offline until someone restarts it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Crafted SQL statements trigger a denial of service condition inside the sql_tree_hash_1 component, causing the database server to crash or become unresponsive.
Why it matters to the business
Service availability is lost until the affected database instance is restarted, interrupting dependent applications and data access for users and downstream systems.
How an attack unfolds
An attacker with network access to a listening SQL endpoint submits a sequence of specially formed SQL statements that reach the sql_tree_hash_1 function and force the server process into a fatal state.
How to fix it
Upgrade flashplugin-nonfree on Ubuntu 14.04 LTS to version 11.2.202.632ubuntu0.14.04.1 or later; apply the equivalent patch for openlink virtuoso-opensource once released.
How to confirm the fix worked
Confirm the installed package version matches or exceeds the listed fixed release and test that the crafted SQL statements no longer produce a crash.
Typical attack path
- Locate an exposed Virtuoso or affected SQL service
- Craft a malicious SQL payload targeting sql_tree_hash_1
- Transmit the payload over a normal SQL connection
- Observe server crash or sustained unresponsiveness
How to detect it
Review database error logs and process crash dumps for abrupt terminations immediately following SQL statement execution; correlate with connection logs showing unusual query patterns.
What your security team should do
- Apply the listed package update on all Ubuntu 14.04 systems running flashplugin-nonfree
- Restrict direct SQL access from untrusted networks until patches are deployed
- Monitor for unexpected database process terminations
The record
An issue in the sql_tree_hash_1 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-57656 An issue in the sqlc_add_distinct_node component of openlink virtuoso-opensource v7.2.11… Also affects virtuoso-opensource