CBL Mariner 2.0 Security Update: sqlite (CVE-2022-46908)

high Nessus Plugin ID 172738

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of sqlite installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2022-46908 advisory.

- SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE. (CVE-2022-46908)

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://nvd.nist.gov/vuln/detail/CVE-2022-46908

Plugin Details

Severity: High

ID: 172738

File Name: mariner_sqlite_CVE-2022-46908.nasl

Version: 1.2

Type: local

Published: 3/20/2023

Updated: 10/6/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2022-46908

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:cbl-mariner:sqlite, p-cpe:/a:microsoft:cbl-mariner:sqlite-debuginfo, p-cpe:/a:microsoft:cbl-mariner:sqlite-devel, p-cpe:/a:microsoft:cbl-mariner:sqlite-libs, x-cpe:/o:microsoft:cbl-mariner

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/13/2022

Vulnerability Publication Date: 12/12/2022

Reference Information

CVE: CVE-2022-46908

IAVA: 2023-A-0006-S