Cloudanix VulnDB

CVE-2016-6153

Medium · 5.9

CVSS

5.9

EPSS

0.5%

Published

Sep 26, 2016

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

Older database software could let someone already on the same computer reach private information or make the program stop working by misusing ordinary folders for temporary work files.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Other
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

SQLite uses the current working directory for temporary files due to an improper search algorithm in os_unix.c, allowing local interference with file creation that can expose data, trigger crashes, or enable other local impacts.

Why it matters to the business

Systems relying on older SQLite versions face limited local risks of data exposure or application disruption, with low likelihood of widespread exploitation given the age and local-only nature of the issue.

How an attack unfolds

A local attacker identifies an SQLite process running from a writable directory, places crafted files there to influence temporary file operations, and triggers database activity to cause unintended file access or application instability.

How to fix it

Upgrade SQLite to version 3.13.0 or later across all affected products including sqlite, fedora, and opensuse leap to enforce secure temporary directory selection.

How to confirm the fix worked

Confirm installed SQLite version is 3.13.0 or newer; verify temporary files are created only in designated secure locations rather than the current working directory.

Typical attack path

  1. Obtain local access on the target system
  2. Locate SQLite processes using the current working directory
  3. Prepare directory contents to affect temporary file handling
  4. Induce SQLite operations that exercise the flawed temp directory logic

How to detect it

Review system and application logs for SQLite temporary file creation in unexpected directories or associated crashes; examine process execution context for working directory usage patterns.

What your security team should do

  • Apply the 3.13.0 update immediately on all SQLite deployments
  • Review applications that bundle or depend on older SQLite for local file handling assumptions
  • Restrict local user write access to directories from which database processes execute

The record

os_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm, which might allow local users to obtain sensitive information, cause a denial of service (application crash), or have unspecified other impact by leveraging use of the current working directory for temporary files.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 sqlite 0 2.8.17-15+deb10u1
Debian:11 sqlite3 0 3.13.0-1
Debian:12 sqlite3 0 3.13.0-1
Debian:13 sqlite3 0 3.13.0-1
Debian:14 sqlite3 0 3.13.0-1
Debian:7 sqlite3 0 3.7.13-1+deb7u3
Mageia:5 sqlite3 0 3.8.10.2-1.2.mga5
Mageia:8 sqlite 0 2.8.17-26.1.mga8
SUSE:HPE Helion OpenStack 8 sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Desktop 12 SP1 sqlite3 0 3.8.10.2-3.1
SUSE:Linux Enterprise Server 11 SP4 sqlite3 0 3.7.6.3-1.4.6.1
SUSE:Linux Enterprise Server 12 SP1 sqlite3 0 3.8.10.2-3.1
SUSE:Linux Enterprise Server 12 SP2-BCL sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server 12 SP3-BCL sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server 12 SP3-LTSS sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server 12 SP4-LTSS sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server 12 SP5 sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server 12-LTSS sqlite3 0 3.8.3.1-2.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 sqlite3 0 3.7.6.3-1.4.6.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 sqlite3 0 3.8.10.2-3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 sqlite3 0 3.36.0-9.18.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 sqlite3 0 3.7.6.3-1.4.6.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 sqlite3 0 3.8.10.2-3.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 sqlite3 0 3.36.0-9.18.1
SUSE:OpenStack Cloud 8 sqlite3 0 3.36.0-9.18.1
SUSE:OpenStack Cloud 9 sqlite3 0 3.36.0-9.18.1
SUSE:OpenStack Cloud Crowbar 8 sqlite3 0 3.36.0-9.18.1
SUSE:OpenStack Cloud Crowbar 9 sqlite3 0 3.36.0-9.18.1
SUSE:Studio Onsite 1.3 sqlite3 0 3.7.6.3-1.4.6.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-1ubuntu0.1
Ubuntu:Pro:14.04:LTS sqlite3 0 3.8.2-1ubuntu2.2+esm1

Related vulnerabilities