PT-2022-6939

CVE-2022-46908

·

Published

2022-12-12

·

Updated

2026-03-20

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SQLite versions prior to 3.40.0
Description The issue is related to errors in the implementation of the azAllowedFunctions protection mechanism in the SQLite database management system's command-line interface. This could allow an attacker to gain unauthorized access to prohibited user functions. Specifically, when relying on the --safe option for executing untrusted CLI scripts, the azProhibitedFunctions protection mechanism is not properly implemented, allowing User-Defined Functions (UDFs) such as WRITEFILE.
Recommendations For versions prior to 3.40.0, as a temporary workaround, consider disabling the use of UDFs such as WRITEFILE until a patch is available. Restrict access to the azProhibitedFunctions mechanism to minimize the risk of exploitation. Avoid using the --safe option for executing untrusted CLI scripts until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2023-1001
AZL-11586
BIT-SQLITE-2022-46908
MGASA-2023-0094
OESA-2022-2146
OESA-2023-1219
OPENSUSE-SU-2022_4628-1
OPENSUSE-SU-2024:12574-1
ROSA-SA-2023-2266
SUSE-SU-2022:4603-1
SUSE-SU-2022_4603-1
SUSE-SU-2022:4628-1
SUSE-SU-2022_4628-1
SUSE-SU-2023:1295-1
SUSE-SU-2023_1295-1
SUSE-SU-2023:2668-1
SUSE-SU-2023_2668-1
USN-6566-1
Found an issue in the description? Have something to add? Feel free to write us 👾