Cloudanix VulnDB

CVE-2024-57656

None

CVSS

—

EPSS

0.8%

Published

Jan 14, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Identify an exposed database instance running the vulnerable version
  2. Establish a SQL connection using any available account
  3. Submit a crafted SELECT statement containing the malicious distinct-node pattern
  4. 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