Vulnerabilities · 2022 · Sqlite
CVE-2022-46908
Sqlite vulnerability
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.
Affected products
Sqlite. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sqlite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- sqlite.org/forum/forumpost/07beac8056151b2f · Exploit
- sqlite.org/src/info/cefc032473ac5ad2 · Patch
- news.ycombinator.com/item?id=33948588 · Exploit
- security.netapp.com/advisory/ntap-20230203-0005/ · Third Party Advisory
- security.gentoo.org/glsa/202311-03
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-556635.html
- nvd.nist.gov/vuln/detail/CVE-2022-46908
- cve.org/CVERecord?id=CVE-2022-46908
More vulnerabilities in Sqlite products
CVE-2025-29088CVE-2025-29087CVE-2025-7458CVE-2025-6965CVE-2025-3277CVE-2024-0232CVE-2023-7104CVE-2022-35737All 62
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.