Cloudanix VulnDB

CVE-2017-13685

Medium · 5.5

CVSS

5.5

EPSS

1.8%

Published

Aug 29, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A specially made file can crash the application, interrupting service until it is restarted.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The dump_callback function in SQLite 3.20.0 processes a crafted input file in a way that triggers an invalid memory access (EXC_BAD_ACCESS), resulting in immediate application termination.

Why it matters to the business

Service availability is disrupted when users or automated processes open malicious files, leading to unplanned downtime and potential loss of in-flight work until the affected processes are restarted.

How an attack unfolds

An attacker prepares a specially formatted file that exercises the vulnerable code path in SQLite's dump_callback routine. The file is delivered to a target user or system that uses one of the affected nginx packages. When the application opens or processes the file, the invalid memory access occurs and the process crashes.

How to fix it

Upgrade all listed nginx-stable packages (nginx-stable, nginx-stable-config, nginx-stable-mod-*, nginx-stable-src, etc.) on both Chainguard and Wolfi to version 1.26.1-r0 or later. After upgrade, restart any services that load the updated packages and verify the new SQLite component is in use.

How to confirm the fix worked

Confirm package versions match or exceed the listed fixed releases, then test that a previously crashing crafted file no longer produces EXC_BAD_ACCESS. Monitor process uptime and crash logs during validation.

Typical attack path

  1. Attacker crafts a malicious file targeting SQLite dump_callback
  2. File is delivered via email, download, or shared storage
  3. User or automated process opens the file with an affected nginx package
  4. SQLite processes the file and encounters the invalid memory access
  5. Application crashes, causing denial of service

How to detect it

Review application and system logs for sudden crashes or segmentation faults that coincide with file-processing activity. Correlate timestamps of crashes with file open events involving SQLite components.

What your security team should do

  • Prioritize upgrade of all affected nginx-stable packages to 1.26.1-r0 within the next maintenance window
  • Inventory environments that bundle or depend on these packages and schedule restarts
  • Add the fixed package versions to automated update policies and SBOM checks
  • Review file-handling workflows that could receive untrusted input

The record

The dump_callback function in SQLite 3.20.0 allows remote attackers to cause a denial of service (EXC_BAD_ACCESS and application crash) via a crafted file.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 sqlite 0 No fix
Debian:10 sqlite3 0 3.20.1-1
Debian:11 sqlite3 0 3.20.1-1
Debian:12 sqlite3 0 3.20.1-1
Debian:13 sqlite3 0 3.20.1-1
Ubuntu:14.04:LTS sqlite3 0 3.8.2-1ubuntu2.2+esm1
Ubuntu:16.04:LTS sqlite3 0 3.11.0-1ubuntu1.2
Ubuntu:18.04:LTS sqlite3 0 3.22.0-1
Ubuntu:18.04:LTS sqlite3 0 3.22.0-1ubuntu0.1
Ubuntu:Pro:14.04:LTS sqlite3 0 3.8.2-1ubuntu2.2+esm1

Related vulnerabilities