Amazon Linux 2023 : lemon, sqlite, sqlite-analyzer (ALAS2023-2025-971)

high Nessus Plugin ID 235883

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2025-971 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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'dnf update sqlite --releasever 2023.7.20250512' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2025-971.html

https://alas.aws.amazon.com/cve/html/CVE-2022-46908.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 235883

File Name: al2023_ALAS2023-2025-971.nasl

Version: 1.1

Type: local

Agent: unix

Published: 5/13/2025

Updated: 5/13/2025

Supported Sensors: Nessus Agent, Continuous Assessment, 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:amazon:linux:sqlite-devel, p-cpe:/a:amazon:linux:sqlite-analyzer-debuginfo, p-cpe:/a:amazon:linux:sqlite-tcl, p-cpe:/a:amazon:linux:sqlite-debugsource, p-cpe:/a:amazon:linux:sqlite-tools, p-cpe:/a:amazon:linux:sqlite-tools-debuginfo, p-cpe:/a:amazon:linux:sqlite-debuginfo, p-cpe:/a:amazon:linux:lemon, p-cpe:/a:amazon:linux:sqlite, p-cpe:/a:amazon:linux:sqlite-libs, p-cpe:/a:amazon:linux:sqlite-tcl-debuginfo, p-cpe:/a:amazon:linux:sqlite-analyzer, p-cpe:/a:amazon:linux:sqlite-libs-debuginfo, p-cpe:/a:amazon:linux:sqlite-doc, p-cpe:/a:amazon:linux:lemon-debuginfo, cpe:/o:amazon:linux:2023

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

Exploit Available: true

Exploit Ease: No known exploits are available

Patch Publication Date: 5/13/2025

Vulnerability Publication Date: 12/12/2022

Reference Information

CVE: CVE-2022-46908

IAVA: 2023-A-0006-S