RHEL 8 : sqlite (RHSA-2020:4442)

high Nessus Plugin ID 142429
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:4442 advisory.

- sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c (CVE-2019-16168)

- sqlite: selectExpander in select.c proceeds with WITH stack unwinding even after a parsing error (CVE-2019-20218)

- sqlite: Use-after-free in window function leading to remote code execution (CVE-2019-5018)

- sqlite: Use-after-free in fts3EvalNextRow in ext/fts3/fts3.c (CVE-2020-13630)

- sqlite: Virtual table can be renamed into the name of one of its shadow tables (CVE-2020-13631)

- sqlite: NULL pointer dereference in ext/fts3/fts3_snippet.c via a crafted matchinfo() query (CVE-2020-13632)

- sqlite: Out-of-bounds read in SELECT with ON/USING clause (CVE-2020-6405)

- sqlite: NULL pointer dereference and segmentation fault because of generated column optimizations (CVE-2020-9327)

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

Solution

Update the affected packages.

See Also

https://cwe.mitre.org/data/definitions/20.html

https://cwe.mitre.org/data/definitions/125.html

https://cwe.mitre.org/data/definitions/369.html

https://cwe.mitre.org/data/definitions/391.html

https://cwe.mitre.org/data/definitions/416.html

https://cwe.mitre.org/data/definitions/476.html

https://access.redhat.com/security/cve/CVE-2019-5018

https://access.redhat.com/security/cve/CVE-2019-16168

https://access.redhat.com/security/cve/CVE-2019-20218

https://access.redhat.com/security/cve/CVE-2020-6405

https://access.redhat.com/security/cve/CVE-2020-9327

https://access.redhat.com/security/cve/CVE-2020-13630

https://access.redhat.com/security/cve/CVE-2020-13631

https://access.redhat.com/security/cve/CVE-2020-13632

https://access.redhat.com/errata/RHSA-2020:4442

https://bugzilla.redhat.com/1708301

https://bugzilla.redhat.com/1768986

https://bugzilla.redhat.com/1791313

https://bugzilla.redhat.com/1801181

https://bugzilla.redhat.com/1809315

https://bugzilla.redhat.com/1841562

https://bugzilla.redhat.com/1841568

https://bugzilla.redhat.com/1841574

Plugin Details

Severity: High

ID: 142429

File Name: redhat-RHSA-2020-4442.nasl

Version: 1.7

Type: local

Agent: unix

Published: 11/4/2020

Updated: 10/12/2021

Dependencies: ssh_get_info.nasl, redhat_repos.nasl

Risk Information

CVSS Score Source: CVE-2019-5018

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

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

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:rhel_aus:8.4, cpe:/o:redhat:rhel_e4s:8.4, cpe:/o:redhat:rhel_eus:8.4, cpe:/o:redhat:rhel_tus:8.4, p-cpe:/a:redhat:enterprise_linux:lemon, p-cpe:/a:redhat:enterprise_linux:sqlite, p-cpe:/a:redhat:enterprise_linux:sqlite-devel, p-cpe:/a:redhat:enterprise_linux:sqlite-doc, p-cpe:/a:redhat:enterprise_linux:sqlite-libs

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 11/4/2020

Vulnerability Publication Date: 5/9/2019

Reference Information

CVE: CVE-2019-5018, CVE-2019-16168, CVE-2019-20218, CVE-2020-6405, CVE-2020-9327, CVE-2020-13630, CVE-2020-13631, CVE-2020-13632

BID: 108294

RHSA: 2020:4442

IAVA: 2020-A-0021-S, 2020-A-0051-S, 2020-A-0358

CWE: 20, 125, 369, 391, 416, 476