CVE-2024-57662
NoneCVSS
—
EPSS
0.9%
Published
Jan 14, 2025
CISA due date
—
Cloudanix analysis
A flaw in a database product lets attackers send specially made database commands that can make the service stop responding until it is restarted.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- 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 crash or resource exhaustion in the sqlg_hash_source component, resulting in denial of service.
Why it matters to the business
Database services become unavailable, causing operational downtime and potential loss of access to data-dependent applications until the instance is restarted or patched.
How an attack unfolds
An attacker with network or local access to a Virtuoso instance crafts malicious SQL statements targeting the sqlg_hash_source component and submits them to induce a denial-of-service condition; no named threat actors or ransomware campaigns are associated with this issue.
How to fix it
Upgrade Virtuoso OpenSource to a version containing the fix for CVE-2024-57662; for listed Ubuntu packages apply the referenced kernel updates (for example linux 3.13.0-91.138 or linux-aws 4.4.0-1002.2) where applicable and restart affected services.
How to confirm the fix worked
Confirm the installed Virtuoso version is newer than 7.2.11, test that crafted SQL statements no longer cause a crash, and verify service availability after applying the referenced package updates.
Typical attack path
- Locate an exposed or reachable Virtuoso instance running the affected version
- Craft SQL statements designed to abuse the sqlg_hash_source component
- Submit the statements via a client connection or application query path
- Observe service crash or unresponsiveness confirming the denial-of-service state
How to detect it
Review database query logs and application error logs for repeated malformed SQL submissions that precede service crashes; no specific threat-actor indicators are known.
What your security team should do
- Prioritize patching Virtuoso instances and listed Ubuntu packages within standard change windows given the low EPSS and lack of KEV listing
- Review database access controls to limit untrusted SQL submission
- Monitor for service restarts or availability alerts on Virtuoso hosts
The record
An issue in the sqlg_hash_source 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 | 7.2.12+dfsg-1 |
| 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-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
- CVE-2024-57656 An issue in the sqlc_add_distinct_node component of openlink virtuoso-opensource v7.2.11… Also affects virtuoso-opensource