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. https://sqlite.org/src/info/cefc032473ac5ad2 https://sqlite.org/forum/forumpost/07beac8056151b2f https://news.ycombinator.com/item?id=33948588
Created mingw-sqlite tracking bugs for this issue: Affects: fedora-all [bug 2178901] Created qt5-qtwebengine tracking bugs for this issue: Affects: epel-all [bug 2178899] Affects: fedora-all [bug 2178902] Created sqlite tracking bugs for this issue: Affects: fedora-all [bug 2178898] Created sqlite2 tracking bugs for this issue: Affects: epel-all [bug 2178900] Affects: fedora-all [bug 2178903] Created tdlib tracking bugs for this issue: Affects: fedora-all [bug 2178904]
This CVE is present from SQLite 3.37.0 to SQLite 3.40.0[1]. RHEL 8 and 9 contain SQLite 3.26.0 and SQLite 3.34.1, respectively; therefore, RHEL is not affected. [1]: https://nvd.nist.gov/vuln/detail/CVE-2022-46908