CVE-2024-57661
NoneCVSS
—
EPSS
0.9%
Published
Jan 14, 2025
CISA due date
—
Cloudanix analysis
A problem in database software lets attackers crash the system with certain database commands, and updates are available to stop it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- SQL Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Crafted SQL statements trigger a denial of service condition in the sqlo_df component of the database engine.
Why it matters to the business
Successful exploitation can interrupt database availability and dependent services; remediation is available via updated Ubuntu packages with no known active exploitation or ransomware use.
How an attack unfolds
An attacker with the ability to submit SQL statements supplies specially crafted queries that reach the sqlo_df component and cause the server process to crash or hang.
How to fix it
Upgrade affected packages to the listed fixed versions: libxmltok on Ubuntu 16.04 to 1.2-3ubuntu0.16.04.1~esm2, on 18.04 to 1.2-4ubuntu0.18.04.1~esm4, on 20.04/22.04 to 1.2-4ubuntu0.20.04.1~esm4 or 1.2-4ubuntu0.22.04.1~esm4, on 24.04 to 1.2-4.1ubuntu2.24.0.4.1+esm2; expat on 14.04 to 2.1.0-4ubuntu1.2 and on 16.04 to 2.1.0-7ubuntu0.16.04.1. Apply all available security updates and restart affected services.
How to confirm the fix worked
Verify package versions match the fixed releases listed for each Ubuntu release; confirm the sqlo_df component no longer accepts the previously crashing SQL patterns in a test environment.
Typical attack path
- Obtain network or local access permitting SQL statement submission to the target instance
- Craft and submit malicious SQL statements targeting the sqlo_df component
- Trigger repeated crashes to sustain denial of service
How to detect it
Review database query logs and process crash reports for repeated malformed SQL statements or sudden server terminations; correlate with authentication events if available.
What your security team should do
- Apply the exact fixed package versions immediately on all affected Ubuntu systems
- Restrict direct SQL submission privileges to trusted accounts only
- Monitor for unusual query patterns or repeated server restarts in database logs
- Test updates in a staging environment before production rollout
The record
An issue in the sqlo_df 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-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