Debian DLA-3107-1 : sqlite3 - LTS security update

critical Nessus Plugin ID 164992

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3107 advisory.

- In SQlite 3.31.1, a potential null pointer derreference was found in the INTERSEC query processing.
(CVE-2020-35525)

- In SQLite 3.31.1, there is an out of bounds access problem through ALTER TABLE for views that have a nested FROM clause. (CVE-2020-35527)

- An issue was found in fts5UnicodeTokenize() in ext/fts5/fts5_tokenize.c in Sqlite. A unicode61 tokenizer configured to treat unicode control-characters (class Cc), was treating embedded nul characters as tokens. The issue was fixed in sqlite-3.34.0 and later. (CVE-2021-20223)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the sqlite3 packages.

For Debian 10 Buster, these problems have been fixed in version 3.27.2-3+deb10u2.

See Also

https://www.debian.org/lts/security/2022/dla-3107

https://security-tracker.debian.org/tracker/CVE-2020-35525

https://security-tracker.debian.org/tracker/CVE-2020-35527

https://security-tracker.debian.org/tracker/CVE-2021-20223

https://packages.debian.org/source/buster/sqlite3

Plugin Details

Severity: Critical

ID: 164992

File Name: debian_DLA-3107.nasl

Version: 1.3

Type: local

Agent: unix

Published: 9/13/2022

Updated: 12/5/2022

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2020-35527

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:sqlite3-doc, p-cpe:/a:debian:debian_linux:sqlite3, p-cpe:/a:debian:debian_linux:libsqlite3-0, p-cpe:/a:debian:debian_linux:libsqlite3-tcl, p-cpe:/a:debian:debian_linux:libsqlite3-dev, p-cpe:/a:debian:debian_linux:lemon

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 9/13/2022

Vulnerability Publication Date: 8/25/2022

Reference Information

CVE: CVE-2020-35525, CVE-2020-35527, CVE-2021-20223