Permissions, Privileges, and Access Controls in SQLite - CVE-2020-13631

 

Permissions, Privileges, and Access Controls in SQLite - CVE-2020-13631

Published: August 6, 2020 / Updated: October 28, 2023


Vulnerability identifier: #VU34079
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-13631
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to bypass certain security restrictions.

The vulnerability exists due an error in alter.c and build.c files in SQLite that allows a local user to rename a virtual table into a shadow table. A local user with permissions to create virtual tables can renamed them and gain unauthorized access to the fronted application.


Affected software

SQLite
Gentoo Linux
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE CaaS Platform
SUSE MicroOS
SUSE Enterprise Storage
Red Hat CodeReady Linux Builder for Power, little endian
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
FreeBSD
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
Ubuntu
Junos OS
openEuler
Junos OS Evolved
Fedora
sqlite (Red Hat package)
sqlite3 (Ubuntu package)
libsqlite3-0 (Ubuntu package)
mingw-bzip2 (Red Hat package)
mingw-binutils (Red Hat package)
mingw-sqlite (Red Hat package)
sqlite
sqlite-debuginfo
sqlite-debugsource
sqlite-devel
sqlite-help
sqlite3
libsqlite3-0-32bit-debuginfo
libsqlite3-0-32bit
sqlite3-devel
sqlite3-debugsource
sqlite3-debuginfo
libsqlite3-0
libsqlite3-0-debuginfo
libsqlite3-0-debuginfo-32bit
mingw-filesystem (Red Hat package)
Telemetry Dashboard
Liquidware
Citrix Workspace App
Webex App VDI
Red Hat OpenShift Serverless
Quay
OpenShift Data Foundation (formerly OpenShift Container Storage)
EMC Integrated Data Protection Appliance
Tenable.sc
PowerScale OneFS
Oracle Outside In Technology
IBM QRadar Data Synchronization App
Cisco Jabber
Dell EMC Data Protection Search
Cisco Webex Meetings
VMware Horizon Client
SINEC INS
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell EMC VxRail Appliance

How to mitigate CVE-2020-13631

Install updates from vendor's website.

SQLite - update to 3.32.0
sqlite (Red Hat package) - update to 3.26.0-11.el8
Telemetry Dashboard - update to 1.1.0.6 on Thin OS 2405
Red Hat OpenShift Serverless - addressed in versions 1.10.2, 1.11.0, 1.12.0
EMC Integrated Data Protection Appliance - update to 2.7.1
Quay - update to 3.3.3
Tenable.sc - update to 5.19.0
Liquidware - update to 6.7.0.2.2 on Thin OS 2405
Cisco Jabber - update to 14.3.0.308378.11 on Thin OS 2405
Junos OS - addressed in versions 19.3R3-S6, 19.4R2-S6, 19.4R3-S8, 20.1R3-S4, 20.2R3-S4, 20.3R3-S3
Dell EMC Data Protection Search - update to 19.6.0
Junos OS Evolved - addressed in versions 21.2R3-EVO, 21.3R3-EVO, 21.4R2-EVO, 22.1R1-EVO
Citrix Workspace App - update to 24.2.0.65.17 on Thin OS 2405
Webex App VDI - update to 44.2.0.28744.1 on Thin OS 2405
Cisco Webex Meetings - update to 44.2.0.76.2 on Thin OS 2405
VMware Horizon Client - update to 2312.1.8.12.1.5 on Thin OS 2405
sqlite3 (Ubuntu package) - addressed in versions 3.11.0-1ubuntu1.5, 3.22.0-1ubuntu0.4, 3.29.0-2ubuntu0.3, 3.31.1-4ubuntu0.1
libsqlite3-0 (Ubuntu package) - addressed in versions 3.11.0-1ubuntu1.5, 3.22.0-1ubuntu0.4, 3.29.0-2ubuntu0.3, 3.31.1-4ubuntu0.1
mingw-bzip2 (Red Hat package) - update to 1.0.6-14.el8
mingw-binutils (Red Hat package) - update to 2.30-3.el8
mingw-sqlite (Red Hat package) - update to 3.26.0.0-1.el8
sqlite - update to 3.31.1-2
sqlite-debuginfo - update to 3.31.1-2
sqlite-debugsource - update to 3.31.1-2
sqlite-devel - update to 3.31.1-2
sqlite-help - update to 3.31.1-2
sqlite - update to 3.32.1-1.fc32
sqlite3 - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0-32bit-debuginfo - update to 3.36.0-3.12.1
libsqlite3-0-32bit - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3-devel - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3-debugsource - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
sqlite3-debuginfo - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0 - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0-debuginfo - addressed in versions 3.36.0-3.12.1, 3.36.0-9.18.1
libsqlite3-0-debuginfo-32bit - update to 3.36.0-9.18.1
mingw-filesystem (Red Hat package) - update to 104-2.el8
SINEC INS - update to 1.0.1.1
IBM QRadar Data Synchronization App - update to 3.0.1
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC VxRail Appliance - update to 7.0.203

External References

Related Security Bulletins