sqlite3: SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement t...
CVE-2022-46908 is fixed in 19 products on 1 platform, first by DEBIAN-CVE-2022-46908, released December 12, 2022. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| lemon · Ubuntu 22.04.1 LTS (jammy) | 3.37.2-2ubuntu0.3 | lemon 3.37.2-2ubuntu0.3 | Dec 28, 2023 |
| lemon · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| lemon-debuginfo · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| libsqlite3-0 · Ubuntu 22.04.1 LTS (jammy) | 3.37.2-2ubuntu0.3 | libsqlite3-0 3.37.2-2ubuntu0.3 | Dec 28, 2023 |
| libsqlite3-tcl · Ubuntu 22.04.1 LTS (jammy) | 3.37.2-2ubuntu0.3 | libsqlite3-tcl 3.37.2-2ubuntu0.3 | Dec 28, 2023 |
| sqlite · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-analyzer · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-analyzer-debuginfo · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-debuginfo · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-debugsource · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-devel · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-doc · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-libs · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-libs-debuginfo · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-tcl · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-tcl-debuginfo · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-tools · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite-tools-debuginfo · amzn 2023 | 3.40.0-1.amzn2023.0.5 | ALAS2023-2025-971 | May 7, 2025 |
| sqlite3 · Debian 12.15 (bookworm) | 3.40.0-2 | DEBIAN-CVE-2022-46908 | Dec 12, 2022 |
| sqlite3 · Debian 13.5 (trixie) | 3.40.0-2 | DEBIAN-CVE-2022-46908 | Dec 12, 2022 |
| sqlite3 · Debian 14 | 3.40.0-2 | DEBIAN-CVE-2022-46908 | Dec 12, 2022 |
| sqlite3 · Ubuntu 22.04.1 LTS (jammy) | 3.37.2-2ubuntu0.3 | sqlite3 3.37.2-2ubuntu0.3 | Dec 28, 2023 |
| sqlite3-tools · Ubuntu 22.04.1 LTS (jammy) | 3.37.2-2ubuntu0.3 | sqlite3-tools 3.37.2-2ubuntu0.3 | Dec 28, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.