CVE-2024-57638
NoneCVSS
—
EPSS
0.8%
Published
Jan 14, 2025
CISA due date
—
Cloudanix analysis
A flaw in certain database software lets attackers send specially made requests that can make the service stop working until it is restarted.
- 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 dfe_body_copy component, causing the database server process to become unresponsive or crash.
Why it matters to the business
Unexpected downtime for database-dependent services, potential loss of availability for applications relying on the server, and increased operational workload for incident response and recovery.
How an attack unfolds
An attacker with the ability to submit SQL statements to the affected server crafts and sends a malicious query that reaches the dfe_body_copy function, leading to resource exhaustion or process termination without requiring authentication bypass or privilege escalation.
How to fix it
Upgrade all affected dnsmasq packages on Red Hat Enterprise Linux 5 client and server installations to version 0:2.45-1.1.el5_3. Apply vendor patches for virtuoso-opensource if separate fixes become available and restrict untrusted SQL input sources until upgrades are complete.
How to confirm the fix worked
Verify package versions match the fixed releases, test that previously successful malicious SQL statements no longer cause service disruption, and confirm server stability under load with the updated binaries.
Typical attack path
- Identify a reachable instance of the vulnerable database server
- Craft a malicious SQL statement targeting the dfe_body_copy component
- Submit the statement via an available SQL interface or application endpoint
- Observe server unresponsiveness or crash confirming the denial of service
How to detect it
Review database server logs for repeated or anomalous SQL statements around the time of outages, check process crash dumps or watchdog restarts, and correlate with application error rates indicating sudden unavailability.
What your security team should do
- Prioritize patching dnsmasq packages to the specified fixed versions within the next maintenance window
- Review database access controls to limit exposure of SQL interfaces to untrusted sources
- Monitor for availability alerts on database services and prepare rollback plans
The record
An issue in the dfe_body_copy 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