CVE-2022-46908 Security feature bypass in n/a
SQLite fails to enforce prohibited function restrictions in safe mode, allowing attackers to execute arbitrary file writes via UDFs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-46908?
CVE-2022-46908 is a high-severity vulnerability in Sqlite Sqlite, published on 12 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2022-46908?
1 open source package ship an affected version, including sqlite. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sqlite Bitnami | From 3.37.0 | 3.40.1 |
Linux distribution packages (33)
sqlite3 SUSE:Enterprise Storage 7 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Enterprise Storage 7.1 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Micro 5.1 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Micro 5.2 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Micro 5.3 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Real Time 15 SP3 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Linux Enterprise Server 12 SP4-ESPOS | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Linux Enterprise Server 12 SP5 | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:Manager Proxy 4.2 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:Manager Server 4.2 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 SUSE:OpenStack Cloud 9 | All versions | 3.39.3-9.26.1 |
sqlite3 SUSE:OpenStack Cloud Crowbar 9 | All versions | 3.39.3-9.26.1 |
sqlite3 openSUSE:Leap 15.3 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 openSUSE:Leap 15.4 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 openSUSE:Leap Micro 5.2 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 openSUSE:Leap Micro 5.3 | All versions | 3.39.3-150000.3.20.1 |
sqlite3 openSUSE:Tumbleweed | All versions | 3.40.0-2.1 |
Products include Sqlite Sqlite.
How do I fix CVE-2022-46908?
Upgrade sqlite to 3.40.1 or later.
Is CVE-2022-46908 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-46908 exists.
Other vulnerabilities in Sqlite Sqlite
Sources
Also known as AZL-11586, BELL-CVE-2022-46908, BIT-sqlite-2022-46908, DEBIAN-CVE-2022-46908, GHSA-993x-6558-2xmj, MGASA-2023-0094 and 8 more.