Cloudanix VulnDB

CVE-2020-11655

High · 7.5

CVSS

7.5

EPSS

4.3%

Published

Apr 9, 2020

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in a widely used database engine can let attackers crash applications by sending specially crafted database requests, causing outages until systems are updated.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Malformed window-function queries cause mishandled initialization of the AggInfo object, resulting in a segmentation fault that crashes the SQLite process.

Why it matters to the business

Applications relying on SQLite experience sudden service outages and data processing interruptions; the flaw affects numerous enterprise and embedded systems across operating systems and Oracle products, amplifying operational downtime risk despite low exploit probability.

How an attack unfolds

An attacker crafts a specially malformed SQL query using window functions and submits it to any exposed SQLite instance or dependent application, triggering the uninitialized AggInfo access and immediate crash; public exploits have been available for years but no named threat actors or ransomware campaigns are associated.

How to fix it

Upgrade SQLite to a version beyond 3.31.1 that properly initializes the AggInfo object; apply vendor patches for all affected products such as Oracle components, NetApp, Debian, Ubuntu, Siemens, and Tenable; disable or sanitize untrusted window-function queries where upgrades are delayed.

How to confirm the fix worked

Confirm deployed SQLite version exceeds 3.31.1; execute test cases with known-malformed window-function queries in a non-production environment and verify absence of crashes; review vendor advisories for each affected product to confirm patch application.

Typical attack path

  1. Identify an application or service exposing SQLite query processing over a network or local interface
  2. Craft a malicious SQL statement containing malformed window-function syntax
  3. Submit the query to trigger the AggInfo initialization flaw
  4. Observe segmentation fault and resulting denial of service

How to detect it

Review application and database logs for unexpected SQLite process terminations or segmentation fault entries around the time of query execution; correlate with unusual SQL statements containing window functions; examine system crash dumps or core files for SQLite stack traces.

What your security team should do

  • Prioritize inventory of all SQLite instances and dependent products given the broad ecosystem reach
  • Apply available updates immediately for internet-exposed or high-value systems
  • Implement query allow-listing or input validation to block complex window functions from untrusted sources
  • Monitor crash logs for segmentation faults tied to SQLite processes

The record

SQLite through 3.31.1 allows attackers to cause a denial of service (segmentation fault) via a malformed window-function query because the AggInfo object's initialization is mishandled.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 sqlite 0 3.28.0-r3
Alpine:v3.11 sqlite 0 3.30.1-r2
Alpine:v3.12 sqlite 0 3.30.1-r3
Alpine:v3.13 sqlite 0 3.30.1-r3
Alpine:v3.14 sqlite 0 3.30.1-r3
Alpine:v3.15 sqlite 0 3.30.1-r3
Alpine:v3.16 sqlite 0 3.30.1-r3
Alpine:v3.17 sqlite 0 3.30.1-r3
Alpine:v3.18 sqlite 0 3.30.1-r3
Alpine:v3.19 sqlite 0 3.30.1-r3
Alpine:v3.20 sqlite 0 3.30.1-r3
Alpine:v3.21 sqlite 0 3.30.1-r3
Alpine:v3.22 sqlite 0 3.30.1-r3
Alpine:v3.8 sqlite 0 3.25.0-r4
Alpine:v3.9 sqlite 0 3.28.0-r3
Bitnami sqlite 0 3.31.1
Bitnami sqlite 0 3.31.2
Chainguard mysql-8.0 0 8.0.38-r0
Chainguard mysql-8.0-bitnami-compat 0 8.0.38-r0
Chainguard mysql-8.0-client 0 8.0.38-r0
Chainguard mysql-8.0-dev 0 8.0.38-r0
Chainguard mysql-8.0-iamguarded-compat 0 8.0.38-r0
Chainguard mysql-8.0-oci-entrypoint 0 8.0.38-r0
Chainguard mysql-8.0-oci-entrypoint-compat 0 8.0.38-r0
Debian:11 sqlite3 0 3.31.1-5
Debian:12 sqlite3 0 3.31.1-5
Debian:13 sqlite3 0 3.31.1-5
Debian:14 sqlite3 0 3.31.1-5
Debian:8 sqlite3 0 3.8.7.1-1+deb8u5
Debian:9 sqlite3 0 3.16.2-5+deb9u2
Mageia:7 sqlite3 0 3.31.1-1.1.mga7
Ubuntu:14.04:LTS sqlite 0 No fix
Ubuntu:16.04:LTS sqlite 0 No fix
Ubuntu:16.04:LTS sqlite3 0 3.11.0-1ubuntu1.5
Ubuntu:18.04:LTS sqlite 0 No fix
Ubuntu:18.04:LTS sqlite3 0 3.22.0-1ubuntu0.4
Ubuntu:20.04:LTS sqlite 0 No fix
Ubuntu:20.04:LTS sqlite3 0 3.31.1-4ubuntu0.1
Ubuntu:22.04:LTS sqlite 0 No fix
Ubuntu:Pro:14.04:LTS sqlite 0 No fix
Ubuntu:Pro:16.04:LTS sqlite 0 No fix
Ubuntu:Pro:18.04:LTS sqlite 0 No fix
Ubuntu:Pro:20.04:LTS sqlite 0 No fix

Related vulnerabilities